Monday, August 31, 2009

Dojo Editor

Today I have come across a issue with Dojo Editor and have tried to explore the topic before I fix the issue.

Step 1. Creating a simple dojo Editor.

Dojo provides the Editor widget using which creating the complex Editor is just a one liner like creating a button in HTML.

Following is the smallest code needed to create a Editor Widget.
-----------------------------------------------
......
.... // in script
dojo.require("dijit.Editor");
.........
...........in body
< d iv id="editor" dojotype="dijit.Editor">
Hello World !!!!
< / d iv>
-----
........
-------------------------------------------------

No comments:

Post a Comment