Hello,

I'm experimenting with the RichTextArea (RTA) in a separate application, 
not in XWiki.
I checked out the xwiki-gwt-dom and xwiki-gwt-user, and RTA seems to 
work well. (Until now I've created only a small demo application, with 
an RTA and some buttons to execute various commands.)

My questions are:

   1. Pressing ENTER creates a BR element by default, is it possible to
      create a P instead?
      (The behaviour of the ENTER key inside a P can be set by executing
      the insertbronreturn command, but the default document always
      contains a BR, and if I set the initial content to <p></p>, I
      cannot navigate the cursor inside the P...)

   2. Is there a way to listen to selection events?
      (I want to enable/disable some buttons based on the current
      selection.)

   3. Are there any extensions to the default RTA in the other parts of
      XWiki?
      (I mean for example commands and controls for editing TABLEs
      visually, toolbars that are enabled/disabled based on the content
      of the RTA, etc. - I haven't looked at all the source code yet,
      it's huge :)

That's for a starter :)
Thanks for your help in advance!

Best regards:
--
Norbert Sándor
http://jvminside.blogspot.com/
_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs

Reply via email to