qasta / gwt-html-editor

Automatically exported from code.google.com/p/gwt-html-editor
0 stars 1 forks source link

No Style Sheet Support #27

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
To properly render some content, I require the ability to add a style sheet
to the iframe header used by the editor.  In addition, to make best use of
the style sheet, it would be good to allow creating a span with a
particular class type for the current selection.

For example, if I select the text "This is a warning." and then click on a
style button, the text would be wrapped with a span element such as: 
"<span class='warning'>This is a warning.</span>".

Unfortunately, I don't see how to implemented this by deriving off of the
RichTextArea class since the impl variable is private.  Any suggestions are
greatly appreciated.

I briefly mentioned this on the google groups, but haven't heard back, so
I'm assuming that nobody else is using style sheets.

http://groups.google.com/group/Google-Web-Toolkit/browse_frm/thread/380d49d7d131
0406

Regards,

Eric

Original issue reported on code.google.com by eric.omn...@gmail.com on 13 Jan 2008 at 9:39