上传图片的时候始终不行,初始化的时候说 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
提交
取消