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  
do compared to the normal mode? Is it only the removal of the tabs?
- shouldn't we have a switch button in compact mode?

>> 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).
Also I don't think we ever decided not to have a switch button in  
compact mode, did we?

Thanks
-Vincent

_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs

Reply via email to