dColumbus
09-27-2007, 10:12 PM
Alright, this bug has been haunting me for nearly 2 years now I haven't been able to find a work around...
When you add an image to a TextArea like so:
textArea.htmlText += "<p><img src='assets/transformers.jpg' width='30' height='30' align='left'></p>";
with or without the <p> tag, if you then click onto the same line in the TextArea that the image resides, all of a sudden your text format is set to size 2 (freakin' tiny) and the only way to change it is to manually tell the font size to be what you want it to be (say 10 or 12).
It's really easy to duplicate what I'm talking about... check it out for yourself and you'll see. Is there some text format that needs to then be declared during the process?
ARG! :confused:
When you add an image to a TextArea like so:
textArea.htmlText += "<p><img src='assets/transformers.jpg' width='30' height='30' align='left'></p>";
with or without the <p> tag, if you then click onto the same line in the TextArea that the image resides, all of a sudden your text format is set to size 2 (freakin' tiny) and the only way to change it is to manually tell the font size to be what you want it to be (say 10 or 12).
It's really easy to duplicate what I'm talking about... check it out for yourself and you'll see. Is there some text format that needs to then be declared during the process?
ARG! :confused: