Sat, 1 August 2009
I wanted a small editor which could be used to edit HTML on a web site, nothing fancy, just something that was small and simple to integrate and produced XHTML complient mark-up.
Its open source and uses the jQuery widget factory, it supports the jQuery themes framework so you can slip it into your jQuery-ui-ified web site and it will look the part without tweeking.
Add the two scripts to the head of your page
<script type="text/javascript"
src="/Scripts/jQuery.htmlClean.js"></script>
<script type="text/javascript"
src="/Scripts/jQuery.htmlInput.js"></script>And call the htmlInput function on the elements selected by jQuery
$("#Input").htmlInput()Ate Wallar, an html input box!
There are options to switch off the buttons you show and you can in theory add you own dialogs for image/link management, I'll put up a full list of the options on the google code page for those who don't want to read the code.
The code is on google @ http://code.google.com/p/jquery-htmlinput/
A demo @ http://www.antix.co.uk/content/demos/jQuery-htmlInput/test.htm
Also Ohloh is tracking it @ http://www.ohloh.net/p/jquery-htmlinput
Use it below to leave me a comment.
JavaScript, jQuery, jQuery plugin, HTML Editor, XHTML Editor
Antix Software Limited is registered in England and Wales.
Registered Number: 3491105 Registered Office: 100-103 Church St., Brighton, BN1 1UJ