Over a million developers have joined DZone.

Aloha Editor–simple and easy to use HTML5 WYSIWYG editor

DZone 's Guide to

Aloha Editor–simple and easy to use HTML5 WYSIWYG editor

· Web Dev Zone ·
Free Resource

Some sites need a simple WYSIWYG editor just to provide some simple formatting options for some texts. I needed an editor like this on one of my ASP.NET MVC projects. Although there are a lot of editors and it is not hard to build your own simple editor I took Aloha Editor. Let’s see why.

Aloha Editor

If you go to Aloha Editor homepage you will find working example of editor and example HTML page with JavaScript that works as simple getting started guide. It took me couple of minutes to add Aloha Editor to my page and get it working.

Configure on page, use from CDN

You can include Aloha Editor files from their CDN and configure editor on your page. This is the block of JavaScript from my page:

<!-- load the Aloha Editor core and some plugins -->
<script src="http://cdn.aloha-editor.org/latest/lib/aloha.js"

Notice how easy it is to say what functions you want to plug to editor. I mean even beginners should be able to get this editor work with no markable problems.

Visible only when needed

Here is one text field where simple HTML editing is needed:

Aloha Editor: Text area for description editing

When I move mouse to text area to start editing text then Aloha toolbar appears:

Aloha Editor: Toolbar is visible only when needed

Toolbar is lightweight and doesn’t take space on screen when it is not needed. Toolbar like this leaves way more space for content on screen and it allows to focus better on information on form.


Aloha Editor is small, compact and easy to use. It may save a remarkable amount of space on views where more than one WYSIWYG editor is needed. Files can be included from Aloha CDN and this way it possible to save some traffic and keep load of server lower. JavaScript you must add to your pages is short, simple and easy to understand. Alhtough I have been Aloha user for some hours I am very happy with it.


Published at DZone with permission of

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}