-
1. Re: rich:editor configuration
nbelaevski Apr 2, 2009 4:26 AM (in response to iimirela)Hello Ioana,
Please take a look: http://www.jboss.org/file-access/default/members/jbossrichfaces/freezone/docs/devguide/en/html/editor.html#d0e20241 -
2. Re: rich:editor configuration
iimirela Apr 2, 2009 4:34 AM (in response to iimirela)Thank you, I did study the guide. However I do not get the font family , font size with the advanced theme. Maybe I don't know how the plugins are called? And I also get other parts I don't want.
Ioana. -
3. Re: rich:editor configuration
ilya_shaikovsky Apr 2, 2009 5:31 AM (in response to iimirela)all the customization of original tinyMCE works as is. So just visit http://tinymce.moxiecode.com/ resources and learn about this customization. Then you could create configuration file as described in guide or just use f:params.
b.t.w. follow the link in my signature and you could checkout our demo sources. -
4. Re: rich:editor configuration
iimirela Apr 2, 2009 5:50 AM (in response to iimirela)Ok. Thanks.
Here is my code, in case anyone needs it:<rich:editor value="#{BackingBean.text}" theme="advanced"> <f:param name="theme_advanced_buttons1" value="bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull,|,styleselect,formatselect,fontselect,fontsizeselect"/> </rich:editor>
Still, if the text is large, it takes too long for the component to load. Plus you don't know it's loading.. Is there a way to show some sort of animated gif while the editor loads?
Ioana. -
5. Re: rich:editor configuration
ilya_shaikovsky Apr 3, 2009 6:33 AM (in response to iimirela)this is a question to tinyMCE also. but as far as I know it isn't supports lazy loading.
-
6. Re: rich:editor configuration
iimirela Apr 3, 2009 7:33 AM (in response to iimirela)Hello,
That's ok. I played around with the onsetup/oninit attributes and managed to show a preloader icon while it's loading.
Ioana.