<div name="editor2" id="editor2" >文本内容</div>
<input type="hidden" id="abc" value="" />
<script type="text/javascript">
    dojo.require("dijit.Editor");
    dojo.require("dijit._editor.plugins.LinkDialog");
    
    dojo.addOnLoad(function(){
     Spring.addDecoration(new Spring.ElementDecoration({elementId : 'editor2', widgetType: 'dijit.Editor', widgetAttrs : {hasDownArrow : true}}));
    })
</script>1.使用了某框架技术 不能直接在<div>里添加dojotype 所有使用了js添加editor。
2.只能使用<div> <p>等标签转换成editor 不能用textarea 问题
1.用这种方式怎么加入plugin参数
2.标签在form里面 需要在提交前赋值给一个隐藏域abc,请问用什么方法能拿到editor的值。
var editor = dojo.byId("editor2");
editor.value;
editor.getValue();
editor.getEeditorContent();
都不行。3.因为框架的关系,form表单提交的按钮被隐藏了。如何在提交前将editor的值赋给隐藏域