Ask a Question related to HTML & CSS, Design and Development.

  1. #1

    Default Rich Text Editor

    Hi!

    I know that exists many rich text editor on internet. But i want lear how to
    do it.

    I learn to do, but i?m not getting to aply the bold for example, in the
    selected text. Look my example:

    java script:


    function InsereNegrito() {
    document.getElementById("tuto_conteudo").value =
    document.getElementById("tuto_conteudo").value + "<strong> </strong>";
    }


    html:


    <a href="javascript:;" onclick="InsereNegrito();">N</a>


    it?s function perfect and it?s crossbrowser, but I would like to learn how to
    aply the bold in the selected text.

    Someone? thanks.

    Leandro_Brazil Guest

  2. Similar Questions and Discussions

    1. Rich Text Editor Options
      I am working on a project that needs a Rich-Text Editor with ability to insert tables, images, and more complex editing features such as what...
    2. URL Function in Rich Text Editor
      I have grabbed Philippe Maegerman's and am trying to adjust it to allow for the user to specify a url and apply it to the input text (like on the...
    3. Rich Text Editor in DW ?
      Looking for a way to edit a MySQL db text field as RTF...is there an RTE extension / add in / whatever that will allow me to do that ? Thanks, Nick
    4. Rich Text Editor with POST?
      I just downloaded the cross-browser rich text editor from Kevin Roth. http://www.kevinroth.com/rte/demo.htm Sample fo the html code: <!--...
    5. OT: Rich Text Box editor (IE object)
      Hi, I am looking for a way to have a textbox, but with some rich text box type properties. Most importently, it should let a user create...
  3. #2

    Default Rich Text Editor

    The Rich Text Editor in Flex builder is really cool, but I cannot, for the life
    of me, find a way to save notes taken inside the RTE to my computer. I would
    like to be able to save as a .doc file to retain the formatting, but even a
    ..txt would be great for now.

    I spoke to someone who suggested passing the string to a .php file and then
    allowing the user to download it. Any ideas?

    -Daniel

    d2burke Guest

  4. #3

    Default Re: Rich Text Editor

    A Flex app, running in the Flash Player in a browser, is forbidden by security
    constraints from accessing any client assets, like the local file system.
    Period.

    If you can run your Flex app under AIR instead, then you CAN acess the local
    file system.

    Tracy

    ntsiii Guest

  5. #4

    Default Re: Rich Text Editor

    As you mentioned, you would need to pass the data back to your web server, and
    have it send the data back to you as a file attachment when you clicked your
    'Save (Download)' button. That said, you may also need to massage the html to
    be a little more standard, especially if you have used bullets and things like
    that. I don't use php or I would give you an example of the server side save to
    file/db/memory, then use apache send_file to return the results, which would
    pop the Save as dialog.

    slaingod Guest

  6. #5

    Default Re: Rich Text Editor

    yeah, I suppose I can simply limit the options to things such as Underline and
    Bold. I haven't played with AIR much...or Flex, really as a matter of fact.
    I'm quite a newbie. It seems that the Flex/AIR software is the best way to
    accomplish what I want to accomplish. Thanks for the input

    d2burke Guest

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139