The title pretty much sums it up but here is the deal. If the text in
a RichTextEditor has been manually edited, changing the styleName of
its parent will result in a complete loss of formatting. If the text
has been programmatically set the problem does not occur. I know the
control differentiates between the two types of interactions and that
only manual changes trigger a change event but am having a hard time
tracking down exactly where the problem lies. I assume some property
flag gets set when change is dispatched/detected but I don't know what
to look for.

You can see this behavior at http://www.returnundefined.com/tests/rte/
(view source enabled).

Thanks,
Ben

Reply via email to