0
就像標題所說,我無法編輯CKEditor上的鏈接。我有一個全新的安裝,當我輸入一個我想標記爲鏈接的文本時,彈出的鏈接會打開所有的字段和按鈕,但它們不起作用 - 除了瀏覽服務器按鈕。無法編輯CKEditor上的鏈接
他們甚至沒有禁用顏色,他們只是不工作!下拉菜單不會打開,文本區域/字段不可編輯!我試圖用最新的jQuery版本進行更新,我沒有使用JavaScript的其他插件進行測試,可能會發生衝突,但仍然無法正常工作。是的,我還測試了一個乾淨的緩存!編輯鏈接的唯一方法是在源模式下進行。
那麼,有什麼問題是什麼建議?
這裏是config.js:
CKEDITOR.editorConfig = function(config) {
config.filebrowserBrowseUrl = 'kcfinder/browse.php?type=files';
config.filebrowserImageBrowseUrl = 'kcfinder/browse.php?type=images';
config.filebrowserFlashBrowseUrl = 'kcfinder/browse.php?type=flash';
config.filebrowserUploadUrl = 'kcfinder/upload.php?type=files';
config.filebrowserImageUploadUrl = 'kcfinder/upload.php?type=images';
config.filebrowserFlashUploadUrl = 'kcfinder/upload.php?type=flash';
// Define changes to default configuration here.
// For the complete reference:
// http://docs.ckeditor.com/#!/api/CKEDITOR.config
// The toolbar groups arrangement, optimized for two toolbar rows.
config.toolbarGroups = [
{ name: 'clipboard', groups: [ 'clipboard', 'undo' ] },
{ name: 'editing', groups: [ 'find', 'selection', 'spellchecker' ] },
{ name: 'links' },
{ name: 'insert' },
{ name: 'forms' },
{ name: 'tools' },
{ name: 'document', groups: [ 'mode', 'document', 'doctools' ] },
{ name: 'others' },
'/',
{ name: 'basicstyles', groups: [ 'basicstyles', 'cleanup' ] },
{ name: 'paragraph', groups: [ 'list', 'indent', 'blocks', 'align', 'bidi' ] },
{ name: 'styles' },
{ name: 'colors' },
{ name: 'about' }
];
// Remove some buttons, provided by the standard plugins, which we don't
// need to have in the Standard(s) toolbar.
config.removeButtons = 'Subscript,Superscript';
// Se the most common block elements.
config.format_tags = 'p;h1;h2;h3;h4;h5;pre';
// Make dialogs simpler.
config.removeDialogTabs = 'image:advanced;';
config.language = 'sv';
config.extraPlugins = 'format,horizontalrule,templates';
CKEDITOR.config.autoParagraph = false;
config.allowedContent = true;
};
JSFiddle?你的配置看起來不錯。 – oleq
我應該在那裏做什麼? – viriato
[創建可以複製問題的示例](http://stackoverflow.com/help/how-to-ask)。 – oleq