Hi Vincent,
Vincent Massol wrote:
On Jul 16, 2009, at 8:43 AM, Marius Dumitru Florea
wrote:
Hi Andreas,
Andreas Schaefer wrote:
Hi
I think I am close having finished the Blog Upgrade to 2.0 Syntax.
The only major issue I have is that if i have WYSIWYG as the
default editor I cannot switch the editor because in the 2.0
WYSIWYG toolbar there is no SWITCH EDITOR icon.
This seems to be the default behavior in 2.0 which is fine for
regular pages but in the Blog this is not working out because there
is no way the user can switch between the editors because there is
no 'Choose editor' panel.
If you edit a regular 2.0 wiki page you'll
notice the WYSIWYG editor
has
two tabs above the tool bar and the menu bar (
http://tinyurl.com/lenva6
) . The "Source" tab allows you to edit the wiki syntax so it's
similar
to the "Switch Editor" tool bar button from the old editor. You can
make
the tabs appear when editing blog articles by editing
templates/textarea_wysiwyg.vm and replace
#wysiwyg_editProperties($tdoc $editors false)
with
#wysiwyg_editProperties($tdoc $editors true)
This will load the full editor, instead of the compact one.
The questions are:
- do we want compact mode for the blog? BTW what does the compact mode
Right now the "compact" mode is activated by default when editing
in-line. The "full" mode is activated when editing a regular page. A
blog article is edited in-line so the "compact" mode is activated.
There's no custom editor configuration for the blog application. We can
have one but I don't think it's a good idea.
do compared to the normal mode? Is it only the removal
of the tabs?
Right now yes, but the "full" flag can be used to drop other features in
"compact" mode if we wish to. It's not a "displayTabs" flag only.
- shouldn't we have a switch button in compact
mode?
Switch to full mode? I'm not sure. The tool bar is a place for tools so
it's not the right place IMO for this button. It's hard (if not
impossible) to define the "compact" mode and I think most of the users
will switch to "full" mode from the start because some feature that they
like it's no included in the "compact" mode. Showing the most used
features by the current user in "compact" mode would be good but it's
not easy to do.
Any way
to reintroduce that SWITCH EDITOR icon onto the 2.0 Toolbar?
Right now you cannot
replace the "Source" tab with a tool bar button.
You should make a feature request in JIRA. I tend to prefer a tool bar
button since the tool bar is configurable (
http://tinyurl.com/
mb2hd8 )
but the tabbed interface was been voted iirc.
I don't think it was ever voted. At least I remember Sergiu and I
didn't agree with it (at least not the way it's done as part of the
editor).
The tabs were part of the UI design proposal (
http://tinyurl.com/n5z42l
) which we voted.
Also I don't think we ever decided not to have a
switch button in
compact mode, did we?
No, we haven't decided.
Thanks,
Marius
Thanks
-Vincent
_______________________________________________
devs mailing list
devs(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs