0
我正在使用與ckeditor(ckeditor內嵌)集成的kcfinder上傳圖像並選擇。通過單擊瀏覽服務器按鈕選擇圖像時,它正在按預期顯示圖像。但是,當我右鍵點擊圖像時,它沒有顯示選擇,選擇縮略圖選項,圖像沒有通過雙擊圖像插入到模板中。ckeditor 4中缺少選擇和選擇縮略圖選項
請幫我弄清楚這個功能。
CKEDITOR.editorConfig = function(config) {
config.filebrowserBrowseUrl = '../kcfinder/browse.php?type=images';
config.filebrowserUploadUrl = '../kcfinder/upload.php?type=images';
config.extraPlugins = 'tokens,htmlSource,link';
config.removePlugins = 'flash';
config.baseFloatZIndex = 900;
config.toolbarGroups = [
{name: 'sourcedialog'},
{ name: 'clipboard', groups: [ 'clipboard', 'undo' ] },
{ name: 'editing', groups: [ 'find', 'selection', 'spellchecker' ] },
{ name: 'links' },
{ name: 'insert' },
{ name: 'tools' },
{ name: 'others' },
'/',
{ name: 'paragraph', groups: [ 'list', 'indent', 'blocks', 'align' ] },
{ name: 'styles' },
{ name: 'colors' },
{ name: 'tokens'},
{ name: 'htmlSource'}
];
};
能不能請你發佈您的代碼,或在jsfiddle.net –
嗨山姆,感謝您回覆。我給config.js文件只有這個文件我已經改變。 – user2659225
在jsfiddle中給出的代碼http://jsfiddle.net/sudheerEva/ZDDE7/ – user2659225