zoukankan      html  css  js  c++  java
  • UM编辑的使用 文件下载里有

    引入安装包,放在Public里面  

    <tr>
    <td class="label">商品描述</td>
    <td>
    <textarea id="goods_desc" name="goods_desc" cols="60" rows="4" ></textarea>
    </td>
    </tr>

    <!-- 导入在线编辑器 -->
    <link href="__PUBLIC__/umeditor1_2_2-utf8-php/themes/default/css/umeditor.css" type="text/css" rel="stylesheet">
    <script type="text/javascript" src="__PUBLIC__/umeditor1_2_2-utf8-php/third-party/jquery.min.js"></script>
    <script type="text/javascript" charset="utf-8" src="__PUBLIC__/umeditor1_2_2-utf8-php/umeditor.config.js"></script>
    <script type="text/javascript" charset="utf-8" src="__PUBLIC__/umeditor1_2_2-utf8-php/umeditor.min.js"></script>
    <script type="text/javascript" src="__PUBLIC__/umeditor1_2_2-utf8-php/lang/ah-cn/zh-cn.js"></script>
    <script>
    UM.getEditor('goods_desc',{
    initialFrameWidth:"100%",
    initialFrameHeight:350
    });
    </script>

    世上无难事,只怕有心人......
  • 相关阅读:
    shader变体
    正向渲染
    LWPR
    blend
    slua
    unity
    jsBridge
    浏览器
    数据运营系统
    广告
  • 原文地址:https://www.cnblogs.com/gooderic/p/5678571.html
Copyright © 2011-2022 走看看