On Wed, May 23, 2012 at 11:10 AM, Guillaume Lerouge <guilla...@xwiki.com> wrote:
> Hi,
>
> On Wed, May 23, 2012 at 9:59 AM, Marius Dumitru Florea <
> mariusdumitru.flo...@xwiki.com> wrote:
>
>> On Wed, May 23, 2012 at 6:45 AM, Geo Du <ddd...@gmail.com> wrote:
>> > Hi Marius,
>> >
>> > I went to the Administration --> WYSIWYG Editor, from the General
>> settings,
>> > I can see there are sections for Plugins, Menu Bar and Tool Bar, I added
>> > color and font to the Plugins by using the plus icon button, and then
>> saved
>> > the settings from the save button, then I came to a page with the edit
>> > button to load wysiwyg editor, I found neither color nor font shown up, I
>> > did the same thing for Tool Bar, added color and font there, still no
>> color
>> > no font shown up on the wysiwyg editor, I looked the inline editor as
>> well,
>> > they did not show up either.
>> > On the editor, it had both Menu bar with link, image, table, macro and
>> > import, and Tool bar with bold italic ..., but no font no color showing
>> in
>> > the bar, so how can I add color and font into the bar?
>> >
>> > I checked the macros.vm, it loaded colors like that:
>> > #set($ok = $parameters.put('colors', $services.wysiwyg.config.
>> > getColorPalette()))
>> > #set($ok = $parameters.put('colorsPerRow',
>> > $services.wysiwyg.config.getColorsPerRow()))
>> > #set($ok = $parameters.put('fontNames',
>> > $services.wysiwyg.config.getFontNames()))
>> > #set($ok = $parameters.put('fontSizes',
>> > $services.wysiwyg.config.getFontSizes()))
>> > #set($ok = $parameters.put('styleNames',
>> > $services.wysiwyg.config.getStyleNames()))
>> >
>>
>> > Am I missing anything here?
>>
>> Yes, as indicated on
>>
>> http://platform.xwiki.org/xwiki/bin/view/AdminGuide/WysiwygEditor#HPluginsandFeatures
>> each plugin provides some features that you can put on the tool bar or
>> menu. In you case, besides adding 'color' and 'font' to the list of
>> plugins, you  also need to specify which of their features should be
>> placed on the tool bar (e.g. forecolor, backcolor, fontname,
>> fontsize).
>>
>
> This is a very common mistake, people always forget to add either the
> plugins or the features. Could we not add a mechanism that automatically
> declares the proper plugins based on the features selected for the WYSIWYG
> toolbar?

Sure, but it needs to be reported first (improvement) and then added
to the roadmap.

Thanks,
Marius

>
> Guillaume
>
>
>> Hope this helps,
>> Marius
>>
>> >
>> > Thanks very much for your help.
>> >
>> > Dave
>> >
>> >
>> > On Mon, May 7, 2012 at 3:22 AM, Marius Dumitru Florea <
>> > mariusdumitru.flo...@xwiki.com> wrote:
>> >
>> >> On Mon, May 7, 2012 at 10:20 AM, Marius Dumitru Florea
>> >> <mariusdumitru.flo...@xwiki.com> wrote:
>> >> > Hi Dave,
>> >> >
>> >> > On Sat, May 5, 2012 at 4:14 AM, Geo Du <ddd...@gmail.com> wrote:
>> >> >> Hi, Marius,
>> >> >>
>> >> >> Thanks very much for your help, I checked the link
>> >> >>
>> http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Configurationturned on
>> >> >
>> >> >> the full list of toolbars like the following in xwiki.cfg file, then
>> I
>> >> >
>> >> > Where did you read "xwiki.cfg" or "xwiki.properties" on
>> >> > http://platform.xwiki.org/xwiki/bin/view/AdminGuide/WysiwygEditor(the
>> >> > link I gave you) ?
>> >> >
>> >> >> restarted tomcat, checked the page with wysiwyg editor, nothing
>> >> changed, no
>> >> >
>> >> >> subtoolbar, findtoobar or symboltoolbar showed up, and actually I
>> want
>> >> to
>> >> >
>> >> > There's no subtoolbar nor findtoobar.
>> >> >
>> >> > You don't have to change any configuration file nor to restart the
>> >> > server. You just have to go to the Administration, then to the WYSIWYG
>> >> > Editor section (from the left vertical menu) and there you'll be able
>> >> > to add plugins and features on the tool bar, like stated on
>> >> >
>> >>
>> http://platform.xwiki.org/xwiki/bin/view/AdminGuide/WysiwygEditor#HConfiguration
>> >>
>> >> You should see this
>> >>
>> >>
>> http://www.xwiki.org/xwiki/bin/download/ReleaseNotes/ReleaseNotesXWikiEnterprise30/wysiwygConfig.png
>> >> .
>> >>
>> >> > .
>> >> >
>> >> > Hope this helps,
>> >> > Marius
>> >> >
>> >> >> add Text Alignment, Fonts, TextSize, colors to the toolbar, I googled
>> >> >> around, could not find a solution, any more clues? I checked
>> >> >> xwiki.properties file as well, nothing there related to wysiwyg
>> editor.
>> >> >>
>> >> >> Thanks again
>> >> >>
>> >> >> Dave
>> >> >>
>> >> >>
>> >> >> #---------------------------------------
>> >> >> # WYSIWYG Editor configuration
>> >> >> #
>> >> >>
>> >> >> #-# You can configure the toolbars you wish to see in the WYSIWYG
>> >> editor by
>> >> >> defining the
>> >> >> #-# xwiki.wysiwyg.toolbars property.
>> >> >> #-# When not defined it defaults to:
>> >> >> xwiki.wysiwyg.toolbars=texttoolbar, listtoolbar, indenttoolbar,
>> >> >> undotoolbar, titletoolbar, \
>> >> >>                          styletoolbar, horizontaltoolbar,
>> >> >> attachmenttoolbar, macrostoolbar, \
>> >> >>                          tabletoolbar, tablerowtoolbar,
>> tablecoltoolbar,
>> >> >> linktoolbar, subtoolbar, findtoolbar, symboltoolbar
>> >> >> #-# The full list of toolbars includes the one defined above and the
>> >> >> following ones:
>> >> >> #-#   subtoolbar, findtoolbar, symboltoolbar
>> >> >>
>> >> >> Then
>> >> >>
>> >> >> On Wed, May 2, 2012 at 5:27 AM, Marius Dumitru Florea <
>> >> >> mariusdumitru.flo...@xwiki.com> wrote:
>> >> >>
>> >> >>> Hi Dave,
>> >> >>>
>> >> >>> On Wed, May 2, 2012 at 6:41 AM, Geo Du <ddd...@gmail.com> wrote:
>> >> >>> > Hi, all,
>> >> >>> >
>> >> >>> > I have a problem to add more tools onto the toolbar with xwiki
>> 3.5 I
>> >> am
>> >> >>> > using, I like to add Text Alignment, Fonts, TextSize, colors, but
>> I
>> >> >>> checked
>> >> >>>
>> >> >>> > this link:
>> >> >>> http://platform.xwiki.org/xwiki/bin/view/Features/WysiwygEditor,
>> >> >>>
>> >> >>> This is the user documentation. It describes the WYSIWYG editor
>> >> >>> features for simple users.
>> >> >>>
>> >> >>> > it is for 2.0, where is the toolbar configuration information
>> about
>> >> the
>> >> >>> 3.5
>> >> >>> > version? I could not find from the admin guide.
>> >> >>>
>> >> >>> http://platform.xwiki.org/xwiki/bin/view/AdminGuide/ links to
>> >> >>> http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Configuration
>> >> >>> which has a section "Configure the WYSIWYG editor" which points to
>> >> >>> http://platform.xwiki.org/xwiki/bin/view/AdminGuide/WysiwygEditor
>> >> >>>
>> >> >>> > Also from the WYSIWYG editor configuration class,
>> >> >>> > https://sipa.mol.fi/xwiki/bin/view/XWiki/WysiwygEditorConfigClass
>> ,
>> >> it
>> >> >>> does
>> >> >>> > not define all the tool bar items.
>> >> >>>
>> >> >>> You should use the administration section dedicated for the WYSIWYG
>> >> editor.
>> >> >>>
>> >> >>> Hope this helps,
>> >> >>> Marius
>> >> >>>
>> >> >>> >
>> >> >>> > Would you please point me to the right direction to look at?
>> >> >>> >
>> >> >>> > Thanks very much!!
>> >> >>> >
>> >> >>> > Dave
>> >> >>> > _______________________________________________
>> >> >>> > devs mailing list
>> >> >>> > d...@xwiki.org
>> >> >>> > http://lists.xwiki.org/mailman/listinfo/devs
>> >> >>> _______________________________________________
>> >> >>> 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
>> >> _______________________________________________
>> >> 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
>> _______________________________________________
>> 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
_______________________________________________
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to