Take the 2-minute tour ×

is there a way to force the GWT's RichTextEditor to use custom stylesheet for the edited text? From what i have seen, it uses an iframe to render the text, so the host documen's styles are ignored.

share|improve this question
add comment

1 Answer

up vote 3 down vote accepted

That's currently not possible (there's an open issue about it).

As a workaround you could manually add your style definitions to the head element of the iframe document. See here for an example.

share|improve this answer
add comment

Your Answer


