Ok, so things like mceSettings.addCustomSetting("skin : \"o2k7\"") work, but the readonly setting is in a newer version (3.1.1) when wicket tinymce is only 3.1.0.

//Swanthe
Hello to you all
Im trying to use the tinymce behavior to get a nice editor. On one page I want a read-only tinymce, but how do I configure its settings?

Is this anywhere near?

TinyMCESettings mceSettings = new TinyMCESettings(Theme.simple);
mceSettings.addCustomSetting("readonly:true");
mceSettings.addCustomSetting("theme_advanced_resizing : true");
add(new TextArea<String>("message", new PropertyModel<String>(obj, "body")).add(new TinyMceBehavior(mceSettings)));

//Swanthe


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org





---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to