Podemos utilizar el editor de una manera muy sencilla que nos proporciona jmaki
< div style="height:300px" >
< :ajax id="myeditor" name="dojo.editor" value="Edit me" / >
< /div >
< script type="text/javascript" >
function showEditorContents(){
var data = jmaki.attributes.get("myeditor").getValue();
alert("Contents = " + data);
< /script >
< a href ="javascript.showEditorContentes()" >
show Editor Contents < a >
< div style="height:300px" >
< :ajax id="myeditor" name="dojo.editor" value="Edit me" / >
< /div >
< script type="text/javascript" >
function showEditorContents(){
var data = jmaki.attributes.get("myeditor").getValue();
alert("Contents = " + data);
< /script >
< a href ="javascript.showEditorContentes()" >
show Editor Contents < a >
Comments