On Tue, Jul 5, 2011 at 2:07 PM, Marius Dumitru Florea
<mariusdumitru.florea(a)xwiki.com> wrote:
Hi Rob,
On 07/05/2011 07:30 PM, Rob Gillen wrote:
I've recently deployed XWiki (3.1m1) in a
Tomcat 6 container, and was
playing around with the editing features when I noticed that the WYSIWYG
editor menu, which is supposed to sit right above the editor toolbar, is
missing. I've been unsuccessful in finding any posts regarding this issue,
and there doesn't seem to be very much information in the documentation
about it. Is there something that I need to do to enable it? or maybe I've
done something wrong. Perhaps someone can provide some hints to help.
We need more details:
* is it a clean 3.1M1? You didn't upgrade from a previous version and
you have imported the default 3.1M1 XAR, right?
* did you try to clear your browser cache?
* what browser are you using and which version?
* in the WYSIWYG editor administration section the menu configuration is
not empty, right? Are you able to edit the menu configuration?
* Yes, it was a clean 3.1M1 installation, not an upgrade.
* I did import the default 3.1M1 XAR.
* Clearing the browser cache (and cookies) made no difference in any browser.
* I've been using Firefox 5.0, but tried Explorer 7 in response to
your question. Both manifest the same issue.
* The menu configuration had some configured defaults (all that are
available, I believe).
* I've tried removing, re-adding, and rearranging the menu items.
I also haven't noted any errors in the tomcat logs; although, I
suspect this is probably a browser/client issue and not a server one.
I think I'll try out the all-in-one zip again. It might be my
imagination, but I don't recall seeing the menu the last time I ran
that one when I was evaluating xwiki.
In a similar
note which may or may not be related, I've also noticed that
the Styles widget on the toolbar does not work. I noticed that for most
buttons (features according to the docs), after you have added the
appropriate plugin, the feature name autofills when you begin typing its
name. This never happened with the "style" plugin's "stylename"
feature.
If I fill it out, the Style select box appears but does not contain any
styles.
This is normal because XWiki Enterprise doesn't provide any styles by
default. If you want to use this feature you have to create the styles
by defining CSS classes in your skin (e.g. .error{color:red}) and then
registering them in the WYSIWYG editor administration section, at the
bottom of the page (e.g. style name = error).
That wasn't clear to me when I asked the question (although I hadn't
looked too deeply into it).
Thanks!