Hello there folks...
So we are using an HTML formatting toolbar for a RichTextArea (as described
here and elsewhere: http://code.google.com/p/richtexttoolbar/ ), which
calls various methods on RichTextArea.Formatter. For example, toggleBold()
(to toggle bolding in a given selected area of
I noticed someone else was having a similar problem as myself, tho' since
they didn't have parent spans with attributes to copy, they were more
concerned with how styles were being applied in these cases:
Another note - in my first post, I incorrectly how the text is modified.
It actually is changed from:
span abc=hello def=goodbye style=display: inline-block;HERE IS MY
TEXT/span
to:
span abc=hello def=goodbye style=display: inline-block;HERE IS
/span
span abc=hello def=goodbye
Another correction (sorry for all the posts) - I noticed that whether the
HTML is broken up into separate SPANs, or whether a span is embedded, is
dependent upon specific styles of the surrounding SPAN. For example, if
the outer span has font-weight: bold and you are turning off bolding, the