Hi,
On 07/26/2011 07:49 PM, Campbell, John wrote:
Hi, folks.
I’m experimenting with a standalone installation of XE3.1 and trying to increase the
control that users would have over the appearance of the pages they add.
I’d love to do this primarily with the WYSIWYG editor, since that would be the most
user-friendly avenue in my opinion. So I tried to add the “font” and “style” plugins and
then make the associated changes in the tool bar, but nothing I do seems to have any
effect on the WYSIWYG editor. When I leave the WYSIWYG Editor administration page and then
return, my changes are still there… they just don’t appear in the editor itself.
I’ve reviewed the WYSIWYG Editor Configuration page in the documentation, but nothing
there has helped me. I’ve even taken a look in the templates/macros.vm file, but could not
locate any of the lines the WYSIWYG Editor Configuration page said I should see.
Can someone help me out?
For enabling the font name and the font size you have to add "font" to
the list of plugins and add "fontname" and "fontsize" to the tool
bar.
For enabling custom styles you have to add "style" to the list of
plugins, "stylename" to the tool bar and then configure the styles at
the bottom of the configuration section. XWiki Enterprise doesn't
provide any default styles so you have to add some. The style name is a
CSS class name from your skin and the style label is the text that
appears in the styles list box on the WYSIWYG editor tool bar.
Don't forget to save after updating the configuration.
Hope this helps,
Marius
Thanks.
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users