在页面form里添加一个hidden,在submit之前用editor.getContent()获取编辑器的值,并赋给这个hidden;
var editor = new UE.ui.Editor();
editor.render("xcontent");
UE.getEditor('xcontent');
editor.sync();
$("#changeContent").val(editor.getContent());
在页面form里添加一个hidden,在submit之前用editor.getContent()获取编辑器的值,并赋给这个hidden;
var editor = new UE.ui.Editor();
editor.render("xcontent");
UE.getEditor('xcontent');
editor.sync();
$("#changeContent").val(editor.getContent());
转载于:https://my.oschina.net/liujiawan/blog/410753