Remote XUL Html Editor

Published 2005-08-09 11:17:00
After the last post, I finally managed to get to the point where the simple XUL HTML remote editor works.

Usage is pretty simple:
  • Install the files on your server
  • Add the css header
    <?xml-stylesheet href="HtmlEdit.css" type="text/css"?>

  • use the htmledit tag, it uses attributes
    eg.

     <htmledit value="hello world" />  

    • editorheight="400" (self explanitary)
    • editorwidht="700" (self explanitary)
    • imagepopup="name" where name is the id of a popup
    • linkpopup="name" where name is the id of a popup
    • value="the text to go in the editor"
  • For the image popup:
    • use imageurl="xxx" on the menuitem for the real image url to insert in the editor
  • For the link popup:
    • use url="xxx" on the menuitem for the url to insert into the editor
    • the url "pick:" just uses a javascript prompt to ask you for the url.


Comments

Awesome
Wow - last time I tried that, wasted my time barking up the wrong tree (http://xulplanet.com/references/elemref/ref_editor.html).

Thanks for releasing that (and like the SVN browser)

#0 - Harry Fuecks ( Link) on 2005-08-09 15:38:42 Delete Comment
XUL WYSIWYG Editor
Maybe you will be interested in this link
<a href='http://demo.webdevelopers.cz'>Elixon CMS/XUL with WYSIWYG XUL Editor</a>

It looks pretty good!

#1 - Ian ( Link) on 2005-08-22 00:21:02 Delete Comment
thanks
this is an excellent little find. I needed a simple editor for an xul email interface and this works perfectly. thanks.

#2 - ryan ( Link) on 2006-12-04 23:18:40 Delete Comment
XUL CMS
There is a full-featured CMS with XUL front-end. http://www.cyclone3.org

#3 - rfordinal ( Link) on 2007-02-20 15:45:31 Delete Comment
won´t run under xulrunner
Tried this XUL under the latest xulrunner. No editor is shown...
Wihin Firefox all is working fine. Does xulrunner need some special adaptions?
chris

#4 - chris ( Link) on 2007-08-02 20:56:50 Delete Comment
Xulrunner feedback
From what I know of Xulrunner it is designed to run local xul - the editor has quite a bit of code to work around the permissions resulting in remote XUL can not use the <editor> tag. - So This approach may not be ideal for xulrunner.

#5 - Alan Knowles ( Link) on 2007-08-03 15:24:06 Delete Comment
it runs with the xulrunner
I just tried it with the xulrunner, version 1.8.1.3_0000000000 - and it works just fine.
Great Application!

#6 - tobster67 ( Link) on 2007-09-14 16:00:09 Delete Comment


Add a comment (requires javascript!)
Name
Email
Homepage
Comment Title
Comment
I am a link spammer?