On Oct 27, 2008, at 1:20 PM, Marius Dumitru Florea wrote:

> Hi devs,
>
> Let's consider the following scenario:
>
> * Edit a new page with the new WYSIWYG editor.
> * Type a word like "ubuntu".
> * Move the caret inside the word like "ubu|ntu".
> * Press the Bold button or type CTRL+B.
>
> Question: What is the expected behavior?
>
> a) Apply the inline style (bold) only to the insertion point. The next
> letters typed will have this style applied.
> b) Apply the inline style (bold) to the word that contains the  
> insertion
> point ("ubuntu").
>
> Note: b) is the current behavior in Open Office and IE. FF behaves  
> as in
> a). The behavior currently implemented in the new WYSIWYG editor is  
> a).
>
> Also, by choosing b) I avoid the use of the special space character in
> IE (see my previous mail), but I have to re-implement the current
> behavior of the new WYSIWYG. I need around 2 days for it. Of course,  
> it
> will work for any inline style like bold, italic etc.
>
> I'm +1 for b)

The third choice is to have a different behavior for FF and IE.

Since I don't think we need to bold only a portion of word (I can't  
think of a real world use case for it), I'd also prefer b)  
(independently of the problem of implementing a) for IE).

Just to be sure, if I type the following:
* Type "hello"
* Hit space
* click on bold
* type "world"

Will "world" be in bold?

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

Reply via email to