Hi Kirill, your FCKeditor / Qooxdoo integration is great! However, how do you hook into the "Save" command of the FCKeditor? I browsed through FCK's source code but it is , um... , somewhat confusing...
Christian Kirill Balyasnikov schrieb: > Hi, > > i have attached some files. try to copy fckeditor.html and > QxFckEditor.js to any public folder and use this code in your script: > > var fckEditor = new QxFckEditor(); > window.add( fckEditor ); > > this should work > > > Paulo Delgado пишет: >> Hello all >> >> >> >> I’m trying to add a FCKeditor instance in a QxWindow, initially what >> I’ve tried is the following: >> >> >> >> var w = new QxWindow("Write New"); >> >> w.setSpace(200,'auto',200,'auto'); >> >> myDesktop.add(w); >> >> >> var a1 = new QxAtom('<textarea id="editor" >> name="editor"></textarea>'); >> >> with(a1) { >> >> setTop(0); >> >> setLeft(0); >> >> setWidth(600); >> >> setHeight(600); >> >> } >> >> w.add(a1); >> >> w.open(); >> >> >> var oFCKeditor = new FCKeditor( 'editor' ) ; >> >> oFCKeditor.BasePath = "/admin/js/FCKeditor/" ; >> >> oFCKeditor.ReplaceTextarea() ; >> >> >> >> In short, I create a QxWindow, then I add a QxAtom with HTML (a >> textarea), then I create an instance of the FCKeditor and make it >> replace my textarea with the actual wysiwyg editor. >> >> >> >> But, it’s not working, apparently the browser (firefox) tries to load >> it but it just sits there trying to load it. >> >> >> >> Has anyone tried this before? Any ideas how to accomplish this? >> >> >> >> Thanks in advance >> >> >> >> Paulo >> >> >> > > > ------------------------------------------------------------------------ > _______________________________________________ Qooxdoo-devel mailing list Qooxdoo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel