how to customize/configure TinyMCE

hello vaadiners

I would like to customize/configure the rich text editor created with the tinyMCE addon from the directory

I would like to hide/disable some buttons…

I have seen some configuration examples on tinyMCE-s website, so I know it is possible

But the question is where to put the javascript configuration code?

Peter

Hi,

Try the setConfig method:

http://dev.vaadin.com/browser/incubator/TinyMCEEditor/src/org/vaadin/tinymceeditor/TinyMCETextField.java#L22

cheers,
matti

… and here is an example of how to use this method exactly:

http://dev.vaadin.com/browser/incubator/TinyMCEEditor/src/org/vaadin/tinymceeditor/TinymceeditorApplication.java#L34

Thank you :slight_smile: