<script charset="utf-8" src="/editor/kindeditor.js"></script>

    <script charset="utf-8" src="/editor/lang/zh_CN.js"></script>

    <script>
        //简约风格
        var editor;
        KindEditor.ready(function(K) {
            editor = K.create('#<%=myCont.ClientID %>', {
                uploadJson: 'editor/asp.net/upload_json.ashx',
                fileManagerJson: 'editor/asp.net/file_manager_json.ashx',
                allowFileManager: true,
                
                resizeType: 0,
                allowPreviewEmoticons: false,
                allowImageUpload: true,
                newlineTag:'br',//'br' 或'p'
                items: [
                        'fontname', 'fontsize', '|', 'forecolor', 'hilitecolor', 'bold', 'italic', 'underline',
                        'removeformat', '|', 'justifyleft', 'justifycenter', 'justifyright', 'insertorderedlist',
                        'insertunorderedlist', '|', 'emoticons', 'image', 'link']
            });
        });
    </script>

 

相关文章:

  • 2022-12-23
  • 2021-12-22
  • 2021-07-11
  • 2022-01-26
  • 2022-01-18
  • 2022-12-23
  • 2021-05-08
  • 2021-05-20
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-02-08
  • 2021-06-29
  • 2022-02-04
  • 2022-12-23
相关资源
相似解决方案