百度编辑器:获取编辑器的内容
百度编辑大致展示(最新版的展示,请到官方查看):
<div id="myEditor"> <script type="text/javascript" id="myEditor"> var editor = new baidu.editor.ui.Editor({ initialContent: '' }); editor.render("myEditor"); </script> </div>
php获取内容:
$_POST['editorValue'];
js获取内容:
editor.getContent()