Hi Kaya, On 09/03/2010 11:58 AM, Kaya Saman wrote: > Hi Marius, > > I just attempted to enable the justify toolbar and the text color > toolbar and so far I did this: > > Changed the plugin statement to include: > > plugins: '$xwiki.getXWikiPreference("wysiwyg.plugins", "submit line > separator text *color justify* list indent hi > > and the toolbar statement to include: > > toolbar: '$xwiki.getXWikiPreference("wysiwyg.toolbar", "bold italic > underline strikethrough | subscript superscript | unorderedlist > orderedlist | outdent indent | undo redo | hr symbol | *backcolor*")', > > am using XWiki 2.0 however, and currently the only thing that actually > made it on the WYSIWYG editor is a little box saying "highlight text" > which changes background color but that's it??
As written on http://platform.xwiki.org/xwiki/bin/view/AdminGuide/WysiwygEditor#HEnabletoolbarfeatures tool bar features are provided by plugins. To enable a tool bar feature to have to: 1. Make sure the plugin that provides the feature is loaded, i.e. the name of the plugin is listed in the "plugins" configuration parameter. 2. Make sure the feature is placed on the tool bar, i.e. the name of the feature is listed in the "toolbar" configuration parameter. You did the first step correctly but you haven't completed the second one. You added only "backcolor" feature to the tool bar. Here http://platform.xwiki.org/xwiki/bin/view/AdminGuide/WysiwygEditor#HPluginsandFeatures you can find what features provides each plugin. So to have justify features on the tool bar you have to add "justifyleft justifycenter justifyright justifyfull". Also, color plugin provides "forecolor" besides "backcolor" so you should add it too. Hope this helps, Marius > > The actual page you gave me on changing the "*Justify*" setting was > pretty lean as to what and how to do!! > > A more howto like approach similar to: > http://platform.xwiki.org/xwiki/bin/view/AdminGuide/WysiwygEditor#HEnabletoolbarfeatures > > would have been better for me to aide with understanding. Maybe this > page could be edited to include all "enable" options for the toolbar?? > > > Thanks, > > Kaya > > > > On 24/08/2010 11:32, Marius Dumitru Florea wrote: >> The buttons to align text are disabled by default, but you can enable >> them easily by following >> http://www.xwiki.org/xwiki/bin/view/FAQ/EnableAligntoolbaronWYSIWYGeditor >> (let >> me know is something is not clear enough). >> >> Now, even if you enable the align tool bar, you still won't be able to >> center the table, because the alignment will affect the table cells and >> not the table itself. In order to center the table you have to : >> > > _______________________________________________ > users mailing list > users@xwiki.org > http://lists.xwiki.org/mailman/listinfo/users _______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users