I will take a peek into this to see what can be done.

Mike

-----Original Message-----
From: Zach Cox [mailto:[EMAIL PROTECTED] 
Sent: April 20, 2008 3:19 PM
To: [email protected]
Subject: Customize TinyMCE init settings

I'm using the wicket-contrib-tinymce package and need to configure some of
the settings that go into the init JavaScript:

tinyMCE.init({
    //settings from TinyMCESettings.toJavaScript are put here });

Specifically I need to set the content_css setting to get the same styles in
the editor as on the rest of the site.  Is there any way to customize what
goes into that tinyMCE.init call?  I can't see any way other than to hack
TinyMCESettings to pieces.

Maybe a public void addInitSetting(String) method would be a good addition
to TinyMCESettings?  There are tons of configuration options
(http://wiki.moxiecode.com/index.php/TinyMCE:Configuration) and it would be
nice to be able to easily set any of them.

Thanks,
Zach

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to