<div dojoType="dijit.Editor" id="editor1" onChange="console.log('editor1 onChange handler: ' + arguments[0])"> <p> This instance is created from a div directly with default toolbar and plugins </p> </div> <mce:script type="text/javascript"><!-- dojo.require("dijit.Editor"); // --></mce:script>