工具,百度编辑器 UEditor 使用实例化

<!DOCTYPE HTML>
<html lang="en-US">

<head>
    <meta charset="UTF-8">
    <title>ueditor demo</title>
</head>

<body>
    <!-- 加载编辑器的容器 -->
    <script id="container" name="content" type="text/plain">
        这里写你的初始化内容
    </script>

<!-- 配置文件 --> <script type="text/javascript" src="ueditor.config.js"></script>

<!-- 编辑器源码文件 --> <script type="text/javascript" src="ueditor.all.js"></script>

<!-- 实例化编辑器 --> <script type="text/javascript"> var ue = UE.getEditor('container'); </script>

</body> </html>
原文地址:https://www.cnblogs.com/xiangsj/p/5891911.html