0
comment
comment
on 5/2/2010 2:43 AM
Finished upgrading an old site to use dojo and codeignite. In order to simplify things I added the RTE editor in order to simplify the code. There is no need to add logic related to the content on the page so html-content is preferable.
excerpt from the content/editor.js:
dojo.require("dijit.Editor");
dojo.require("dijit.form.TextBox");
dojo.require("dijit._editor.plugins.FontChoice");
dojo.require("dijit._editor.plugins.LinkDialog");
dojo.addOnLoad(function(){
dijit.byId('bodyeditor').setValue(dojo.[...]