Squire is an HTML5 rich text editor, which provides powerful cross-browser normalisation, whilst being supremely lightweight and flexible. It is built for the present and the future, and as such does not support truly ancient browsers. It should work fine back to around Opera 10, Firefox 3.5, Safari 4, Chrome 9 and IE8.
Unlike other HTML5 rich text editors, Squire was written as a component for writing documents (emails, essays, etc.), not doing wysiwyg websites. If you are looking for support for inserting form controls or flash components or the like, you'll need to look elsewhere. However for many purposes, Squire may be just what you need, providing the power without the bloat.
build/
directory onto your
server.<style>
block in document.html to add the
default styles you would like the editor to use (or link to an external
stylesheet).<textarea>
, use an
<iframe src="path/to/document.html">
.load
event of
the iframe. When this fires you can grab a reference to the editor object
through iframe.contentWindow.editor
.editor
object to set and get
data and integrate with your application or framework.Made with at FastMail