百度编辑大致展示(最新版的展示,请到官方查看):
<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()
时间: 2024-11-07 10:38:46