Hello,
It will be very nice to have a native WYSIWYG text editor widget in qooxdoo,
I have read the Wiki :
http://qooxdoo.org/documentation/general/html_editing  (a survey !?)
http://qooxdoo.org/community/wishlist
http://qooxdoo.org/documentation/0.7/snippets/using_fckeditor_as_a_rich_text_editor_in_qooxdoo

FCKeditor is too slow in qooxdoo app and not use optimisations (build, var
opt, new OOP, destructor, variant,...). I have started to develop a rich
text editor widget using an qx.ui.embed.IFrame. 
The first step was to add "editable" attribute to qx.ui.embed.IFrame

_onreadystatechange : function() // IE only
    {
      if (this.getIframeNode().readyState == "complete") {
        this.dispatchEvent(new qx.event.type.Event("load"), true);
        this.getContentDocument().body.contentEditable = true;
      }
    },

_onload : function() //FF only
    {
      this._isLoaded = true;
      this.getContentDocument().designMode = "on";
      this.dispatchEvent(new qx.event.type.Event("load"), true);
    },

With this code, the IFrame becomes editable... after my code manage
selection, execute command, interact with a toolbar,... 
My code is very ugly with a lot of bug.

I prefer know the advice of core developers before try to work hard (if
needed) on this widget. Have you already started to develop this widget or
planned in near feature or adapt existing solution (FCKeditor, TinyMCE,...)
? 

cheers.
frederic 
-- 
View this message in context: 
http://www.nabble.com/Native-WYSIWYG-text-editor-in-qooxdoo-tf3877187.html#a10986384
Sent from the qooxdoo-devel mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to