编辑页面里面的内容显示问题

Posted on 2022-07-13 16:36  君子不卿  阅读(31)  评论(0编辑  收藏  举报

 

<div class="hr-line-dashed"></div>
<input type="hidden" value="" name="html" id="html_str"/>
                  <div class="form-group">
                      <label class="col-sm-3 control-label " for="myEditor">内容:</label>
                      <div class="input-group col-sm-9">
      
                          <script src="/static/admin/ueditor/ueditor.config.js" type="text/javascript"></script>
                          <script src="/static/admin/ueditor/ueditor.all.js" type="text/javascript"></script>
      
                          <textarea name="content" style="width:90%" id="myEditor"></textarea>
                          <script type="text/javascript">
                              var editor = new UE.ui.Editor();
                              editor.render("myEditor");
         editor.ready(function() {
            editor.execCommand('inserthtml','{$article.content}');
         });
                          </script>
                      </div>
                  </div>

Copyright © 2024 君子不卿
Powered by .NET 9.0 on Kubernetes

//评论