On Mon, Oct 27, 2008 at 5:50 PM, Marius Dumitru Florea < [email protected]> 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.
As a user I would expect the behaviour in a) (personal opinion). But if b) is currently used existing editors and it also let's us go around a hacky solution. I would say +0 for b). Thanks. - Asiri
I'm +1 for b)
Thanks, Marius. _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs