Wiki  |   Blog  |   Sitemap  |   Search  
Home
JavaScript UI FrameworkExamplesUI Languages (SVG, XUL..)XUL examplesWYSIWYG HTML editor

WYSIWYG HTML editor:

Source code

<script type="application/ample+xml" xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"> <xul:editor><![CDATA[HTML <b>bold</b> and <i>italic</i> text]]></xul:editor> <br /> <xul:checkbox label="disabled" checked="true" onchange="ample.querySelector('#editor').setAttribute('disabled', this.getAttribute('checked'))"/> <xul:editor id="editor" disabled="true"> <![CDATA[HTML <b>bold</b> and <i>italic</i> text]]> </xul:editor> </script>