久久久久精品网站,国产清纯白嫩大学生视频,自拍视频国产第三页在线,国产精品96乱子一级视频

一個(gè)頁面怎么顯示多個(gè)ueditor編輯器

時(shí)間:2019-12-03 22:12:08 類型:JS/JQUERY
字號(hào):    

有時(shí)我們會(huì)用到一個(gè)頁面呈現(xiàn)多個(gè)ueditor編輯器,實(shí)現(xiàn)方法如下:

<!-- 加載編輯器的容器 -->
    <script id="container01" name="content" type="text/plain" style="width: 600px;height: 100px;"></script>
    <!-- 加載編輯器的容器 -->
    <script id="container02" name="content" type="text/plain" style="width: 600px;height: 100px; margin-top: 30px;"></script>
    <!-- 配置文件 -->
    <script type="text/javascript" src="./ueditor/ueditor.config.js"></script>
    <!-- 編輯器源碼文件 -->
    <script type="text/javascript" src="./ueditor/ueditor.all.js"></script>
    <!-- 實(shí)例化編輯器 -->
    <script type="text/javascript">
        var ue01 = UE.getEditor('container01');
        var ue02 = UE.getEditor('container02');
    </script>

呈現(xiàn)效果如下:

QQ截圖20191203221123.jpg

<