为了账号安全,请及时绑定邮箱和手机立即绑定

CKEditor3.6+CKFinder2.0.2.1的配置问题

CKEditor3.6+CKFinder2.0.2.1的配置问题

狐的传说 2018-12-06 19:07:15
上传图片的时候始终不行,初始化的时候说  LinkBrowserURL 好像是没有 源码: f.Config.LinkBrowserURL=n;f.Config.ImageBrowserURL=n+o+'type='+(h||'Images');f.Config.FlashBrowserURL=n+o+'type='+(i||'Flash');var p=n.substring(0,1+n.lastIndexOf('/'));   我的配置:<asp:TextBox runat="server" ID="txtContent"></asp:TextBox>        <script type="text/javascript">            var editor = CKEDITOR.replace('txtContent');            CKFinder.setupFCKeditor(editor, '/ckfinder/');        </script>  CKEDITOR.editorConfig = function (config) {    // Define changes to default configuration here. For example:    config.language = 'zh-cn'; //配置语言     // config.uiColor = '#AADC6E';      config.filebrowserBrowseUrl = '../ckfinder/ckfinder.html';    config.filebrowserImageBrowseUrl = '../ckfinder/ckfinder.html?Type=Images';    config.filebrowserFlashBrowseUrl = '../ckfinder/ckfinder.html?Type=Flash';    config.filebrowserUploadUrl = '../ckfinder/core/connector/aspx/connector.aspx?command=QuickUpload&type=Files';    config.filebrowserImageUploadUrl = '../ckfinder/core/connector/aspx/connector.aspx?command=QuickUpload&type=Images';    config.filebrowserFlashUploadUrl = '../ckfinder/core/connector/aspx/connector.aspx?command=QuickUpload&type=Flash';     config.filebrowserWindowWidth = '800';    config.filebrowserWindowHeight = '500';}; 使用: <asp:TextBox runat="server" ID="txtContent"></asp:TextBox>        <script type="text/javascript">            var editor = CKEDITOR.replace('txtContent');            CKFinder.setupFCKeditor(editor, '/ckfinder/');        </script> 
查看完整描述

2 回答

  • 2 回答
  • 0 关注
  • 336 浏览

添加回答

举报

0/150
提交
取消
意见反馈 帮助中心 APP下载
官方微信