On 02/16/2011 04:14 PM, markblokpoel wrote:
>
> Hi,
>
> The wysiwyg editor configuration document, at least for me, was difficult to
> comprehend. I was looking for a way to center tables/text/images on my
> xwiki, but failed to get the result using xwiki syntax2. So, I wanted to add
> the justifyleft, justifycenter, justifyright and justifyfull buttons to the
> wysiwyg editor, so my users don't have to use wiki syntax.
> I found that the
> syntax in the templates/macros.vm file is completely different from what is
> described in the configuration document, but still understandable.
Fixed.
> So I
> added the buttons in the following line:
>
>
> #set($ok = $parameters.put('toolbar',
> $xwiki.getXWikiPreference('wysiwyg.toolbar', 'bold italic underline
> strikethrough | justifyleft justifycenter justifyright justifyfull |
> subscript superscript | unorderedlist orderedlist | outdent indent | undo
> redo | format | hr symbol | paste')))
You have to also add the "justify" plugin to the list of plugins, as
explained for the "color" plugin in the
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/WysiwygEditor#HEnabletoolbarfeatures
.
Note that we're hoping to add an administration section for the WYSIWYG
content editor in XE 3.0 which will ease the configuration. It will
looks pretty much like this
http://incubator.myxwiki.org/xwiki/bin/view/Improvements/WysiwygEditorConfig
.
Hope this helps,
Marius
>
> However, after service restart the wysiwyg editor is unchanged. Can someone
> help me out with this?
>
> Best,
> Mark
_______________________________________________
users mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/users