如何在ckeditor中选择上传的图片?

时间:2016-11-03 16:27:14

标签: coldfusion ckeditor

如何让上传的图像显示在小显示区域?另外,为什么URL不会自动填充在“图像信息”选项卡中?我还需要设置其他内容吗?浏览器在目录中显示列表,但它不允许单击并添加到URL。有关如何使用4.5.11进行此操作的明确文档在哪里?

<script>
CKEDITOR.replace( 'editor', {
width: 1200,
height:550,
filebrowserBrowseUrl: 'browseImage.cfm',
filebrowserImageBrowseUrl: 'browseImage.cfm?type=Images',
filebrowserUploadUrl : 'uploadImage.cfm',
filebrowserImageUploadUrl: 'uploadImage.cfm?type=Images',
toolbarGroups: [
{"name":"basicstyles","groups":["basicstyles"]},
{"name":"links","groups":["links"]},
{"name":"paragraph","groups":["list","blocks"]},
{"name":"document","groups":["mode"]},
{"name":"insert","groups":["insert"]},
{"name":"styles","groups":["styles"]},
{"name":"about","groups":["about"]}
],
// Remove the redundant buttons from toolbar groups defined above.
removeButtons:   'Underline,Strike,Subscript,Superscript,Anchor,Styles,Specialchar'
} );

1 个答案:

答案 0 :(得分:0)

我必须购买CKFinder才能工作。谢谢!