Hello,
On Wed, Feb 16, 2011 at 4:14 PM, markblokpoel <mark.blokpoel(a)gmail.com>wrote;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. 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')))
However, after service restart the wysiwyg editor is unchanged. Can someone
help me out with this?
Have you take a look on this:
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/WysiwygEditor#HConfigur…
Raluca.
Best,
Mark
--
View this message in context:
http://xwiki.475771.n2.nabble.com/WYSIWYG-Editor-adding-toolbar-buttons-tp6…
Sent from the XWiki- Users mailing list archive at
Nabble.com.
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users