Professional Web Applications Themes

Rich Text Editor - HTML & CSS

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() { doent.getElementById("tuto_conteudo").value = doent.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....

  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() {
    doent.getElementById("tuto_conteudo").value =
    doent.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. #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

  3. #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

  4. #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

  5. #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

Similar Threads

  1. Rich Text Editor Options
    By SForsgren in forum Macromedia Flex General Discussion
    Replies: 7
    Last Post: May 9th, 04:13 PM
  2. superscript in Rich text Editor
    By Zhuang8888888888 in forum Macromedia Flex General Discussion
    Replies: 0
    Last Post: April 28th, 09:58 PM
  3. Rich Text Editor in DW ?
    By NA news in forum Macromedia Exchange Dreamweaver Extensions
    Replies: 1
    Last Post: March 3rd, 08:06 AM
  4. Recommended rich text editor
    By Eirik Eldorsen in forum ASP.NET Building Controls
    Replies: 2
    Last Post: January 18th, 01:27 PM
  5. OT: Rich Text Box editor (IE object)
    By Marina in forum ASP.NET General
    Replies: 1
    Last Post: July 11th, 05:05 PM

Bookmarks

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