Welcome, Guest
  • Author Topic: RichTextEditor Problem T.T  (Read 1357 times)

    hinomotoblade

    • Seasoned Programmer
    • ***
    • Posts: 131
    • Flash Never Die :D
      • View Profile
    RichTextEditor Problem T.T
    « on: 01/24/10, 19:35 »
    Hello i got some strange again here..

    Look in my RichTextEditor:



    The problem are

    1. When i write so many text there, it seems the RichText Control bar covered my text.. :(
        whereas i didnt make any CSS for my richTextEditor..
    2. Look in the right side, the font style and align didnt same with the richTextEditor Field
        How to make that same?.. i just want to output the RichTExtEditor to the TextArea or whatever..

    Please help me.. :D
    Thank you very much really thank you :)
    « Last Edit: 01/24/10, 19:58 by hinomotoblade »
    Huihihi~ :D

    Ronald Wernecke

    • Global Moderator
    • Systems Administrator
    • *****
    • Posts: 6203
      • View Profile
      • Professional Support
      • Email
    Re: RichTextEditor Problem T.T
    « Reply #1 on: 01/25/10, 00:04 »
    how do you assign the values to the text area?

    Do you use the text attribute, or rather the htmlText? ;)
    This might be the difference.
    happy flashing
    8)
    Ronald

    hinomotoblade

    • Seasoned Programmer
    • ***
    • Posts: 131
    • Flash Never Die :D
      • View Profile
    Re: RichTextEditor Problem T.T
    « Reply #2 on: 01/25/10, 07:13 »
    Thank you :D

    I will try that :)

    Again thank you Ronald :)
    Still confused about the display in flex.. T.T

    Sometimes worked sometimes nope huhuh..
    Huihihi~ :D

    hinomotoblade

    • Seasoned Programmer
    • ***
    • Posts: 131
    • Flash Never Die :D
      • View Profile
    Re: RichTextEditor Problem T.T
    « Reply #3 on: 01/25/10, 08:54 »
    Wew its done Ronald Thank you.. :)

    Finally about the CSS problem in my RichTextEditor i made that fully changed T.T

    btw about htmlText property, I found that I got a giant left indent on the first line and
    unexpected line breaks in the TextArea (with a giant indent again) when I used
    it, whether I included any markup in the property or not.  If I use the inline
    htmlText attribute, everything works fine.

    Why is there a difference, and has anyone found a workaround?  I tried setting
    XML.ignoreWhitespace, XML.prettyIndent, etc., but nothing helped. :(

    Thank you :)
    « Last Edit: 01/25/10, 09:35 by hinomotoblade »
    Huihihi~ :D

    hinomotoblade

    • Seasoned Programmer
    • ***
    • Posts: 131
    • Flash Never Die :D
      • View Profile
    Re: RichTextEditor Problem T.T
    « Reply #4 on: 01/27/10, 04:48 »
    I want to use htmlText to make more interaktive text :D
    ,but I found that I got a giant left indent on the first line and
    unexpected line breaks in the TextArea (with a giant indent again) when I used
    it, whether I included any markup in the property or not.  If I use the inline
    htmlText attribute, everything works fine.

    Why is there a difference, and has anyone found a workaround?  I tried setting
    XML.ignoreWhitespace, XML.prettyIndent, etc., but nothing helped. Sad
    Huihihi~ :D

    Ronald Wernecke

    • Global Moderator
    • Systems Administrator
    • *****
    • Posts: 6203
      • View Profile
      • Professional Support
      • Email
    Re: RichTextEditor Problem T.T
    « Reply #5 on: 01/27/10, 08:53 »
    look into CSS-Styling ;)
    Allways use the htlmText attribute to exchange values, when you want to keep the format.
    happy flashing
    8)
    Ronald

    hinomotoblade

    • Seasoned Programmer
    • ***
    • Posts: 131
    • Flash Never Die :D
      • View Profile
    Re: RichTextEditor Problem T.T
    « Reply #6 on: 01/27/10, 09:45 »
    Thank you :)

    Thats worked well,

    but when i tried to fill that directly like this

    Code: [Select]
    <mx:htmlText>
    <![CDATA[
    <font color='#0000FF'>This is some Text</font>
    ]]>
    </mx:htmlText>

    or just

    Code: [Select]
    <mx:htmlText>
    <![CDATA[
    This is some Text
    ]]>
    </mx:htmlText>

    It always make really big left indent / spacing, wheras i dont make any CSS for that, then i have chane the align to left, when i tried to input that by button or whataver that worked, but when i fill that directly thats didnt worked well :)
    Huihihi~ :D

    Ronald Wernecke

    • Global Moderator
    • Systems Administrator
    • *****
    • Posts: 6203
      • View Profile
      • Professional Support
      • Email
    Re: RichTextEditor Problem T.T
    « Reply #7 on: 01/27/10, 10:43 »
    I usualy use ActionScript for assigning.
    XHTML seams to have some glitches ;)
    happy flashing
    8)
    Ronald

    hinomotoblade

    • Seasoned Programmer
    • ***
    • Posts: 131
    • Flash Never Die :D
      • View Profile
    Re: RichTextEditor Problem T.T
    « Reply #8 on: 01/27/10, 11:10 »
    Ouwh Great.. :)

    Thank you Ronald :D

    hehe forgot that we can use AS for that.. :P
    Huihihi~ :D