0
今天我想在我们的PIM系统的CKEDITOR中添加一个新的插件。 因此我加载了CKEEditor的“Link”插件。CKEditor的新插件(链接)
第一步 - 我包括以下路径下的插件,我CKE的安装:
CKEditor的\ JS \ CKEditor的\插件\链接
后,我试图改变我的“ ckeeditor.Config.js”
它看起来像以下配置:
var CKEDITOR_CONFIGS = (function() {
var module = {};
var configs = {
'default': {
toolbar: [
[ 'Cut','Copy','Paste','PasteText','PasteFromWord','Undo','Redo'],
['NumberedList','BulletedList','-','Outdent','Indent','-','Blockquote','CreateDiv',
'-','JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'],
['Link','Unlink','Anchor'],
['Image','Flash','Table','HorizontalRule','Smiley','SpecialChar'],
['Bold','Italic','Underline','Strike','Subscript','Superscript',
'Source','Save','NewPage','DocProps','Preview', 'Print','-','Templates',
'SpellChecker', 'Find','Replace','-','SelectAll','-','Scayt'],
['Form', 'Checkbox', 'Radio', 'TextField', 'Textarea', 'Select', 'Button', 'ImageButton',
'HiddenField'],
['RemoveFormat','-','BidiLtr','BidiRtl'],
['PageBreak','Iframe','Styles','Format','Font','FontSize', 'TextColor','BGColor',
'Maximize', 'ShowBlocks','-','About']
]
}
};
module.getConfiguration = function(args) {
return configs['default'];
};
return module;
}());
通过阅读一些柱我发现我有以下代码添加到配置数据
config.extraPlugins =“链接”;
谁能告诉我wherer我必须添加“config.extraPlugins =‘链接’; 我已经尝试了在代码中的许多地方,但没有任何成功
让别人相同?问题我忽略了一些提前 添
没有人知道吗?如何解决问题? – Tim