Tuesday, October 23, 2012

Re: RichTextArea.Formatter wraps modified text/html with copy of parent SPAN (copying all attributes) ??

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" style="font-weight: bold; display: inline-block;">MY</span>
<span abc="hello" def="goodbye" style="display: inline-block;"> TEXT</span>

(newlines added for clarity)

So the wrapped text is unwrapped into 3 separate SPANs, which is NOT what I want. I need my HTML formatting preserved, not broken up into separate pieces like that.

Again, seems like a bug.

- Tim
 

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/uRn7RWbWxtQJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment