少妇精品导航,人妻巨大乳一二三区,欧美性白人极品1819hd,亚洲日韩AV一区二区三区中文

Section Menu:  

Ueditor富文本編輯器

  • 發(fā)布時間: 2020-07-17 15:15
  •    閱讀: 5231   

富文本編輯器功能示例

參數(shù)
    dir [str] :富文本編輯器上傳文件路徑
    host [str]: 默認(rèn)
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
<head>
   <meta charset="utf-8">
   <title>Ueditor 編輯器調(diào)用示例</title><!-- 注意 dir 參數(shù)為 "upload/" 下面的一個目錄名 -->
   <script src="{{ kg['server']['HTTP_HOST'] }}/tools/ueditor/ueditor.config.js?dir=other&host={{ kg['server']['HTTP_HOST'] }}"></script>
   <script src="{{ kg['server']['HTTP_HOST'] }}/tools/ueditor/ueditor.all.js"></script>
</head>

<body>
   <form action="environ" method="post" target="_blank">
      <textarea id="KgcmsEditor" name="KgcmsEditor" style="width:{{ kg['globals']['editor_size'][0] }}px; height:{{ kg['globals']['editor_size'][1] }}px;">{{ data['content'] }}</textarea>
      <script>
      UE.getEditor('KgcmsEditor')
      </script>
      <br />
      <input type="submit" value="提交數(shù)據(jù)" style="padding:5px 15px;" />
   </form>
</body>
</html>
適應(yīng)版本

v1.0.1