1
를 표시/작동하지 않습니다. 모든 종속성을 추가했습니다.CKEditor 플러그인 내가 설명서를 따라 두 개의 플러그인을 추가 한
은 여기 내 config.js
CKEDITOR.editorConfig = function(config) {
config.toolbarGroups = [
{ name: 'document', groups: [ 'mode', 'document', 'doctools' ] },
{ name: 'clipboard', groups: [ 'clipboard', 'undo' ] },
{ name: 'editing', groups: [ 'find', 'selection', 'spellchecker', 'editing' ] },
{ name: 'forms', groups: [ 'forms' ] },
'/',
{ name: 'basicstyles', groups: [ 'basicstyles', 'cleanup' ] },
{ name: 'paragraph', groups: [ 'list', 'indent', 'blocks', 'align', 'bidi', 'paragraph' ] },
{ name: 'links', groups: [ 'links' ] },
{ name: 'insert', groups: [ 'insert' ] },
'/',
{ name: 'styles', groups: [ 'styles' ] },
{ name: 'colors', groups: [ 'colors' ] },
{ name: 'tools', groups: [ 'tools' ] },
{ name: 'others', groups: [ 'others' ] },
{ name: 'about', groups: [ 'about' ] }
];
config.height = 500; // 500 pixels.
/*config.removePlugins = 'colorbutton';*/
config.extraPlugins = 'button', 'toolbar', 'notification', 'clipboard', 'lineutils', 'dialogui', 'dialog', 'widgetselection', 'widget', 'image2', 'panel', 'floatpanel', 'panelbutton', 'enhancedcolorbutton';
config.removeButtons = 'NewPage,Source,Scayt,Form,Checkbox,Radio,TextField,Textarea,Select,Button,ImageButton,HiddenField,Outdent,Indent,Blockquote,CreateDiv,BidiLtr,BidiRtl,Language,Anchor,Flash,SpecialChar,PageBreak,Iframe,BGColor,Maximize,ShowBlocks';
};
어떤 도움이 많이 감사합니다.
감사합니다. 지연에 사과 드리며 잠시 동안 떨어져 있습니다. config.js를 변경했지만, 추가 플러그인이 제 패널에 표시되지 않습니다. 그들이 자동으로 거기에 있어야합니까 아니면 뭔가를 변경해야합니까? –
첨부 된 플러그인에서 툴바에있는 image2와 어쩌면 향상된 컬러 버튼 (미안하지만이 버튼을 모르는 부분) 만 보일 것입니다. 나머지 추가 플러그인에는 도구 모음 단추가 없습니다. 이미지 버튼을 클릭하고 새 대화 상자 (https://ckeditor.com/cke4/addon/image2 - 스크린 샷 중 하나에서 대화 상자가 어떻게 보이는지 확인할 수 있음)를 볼 수 있는지 확인하십시오. 볼 수 없다면 dev-tools를 열고 콘솔에 오류가 있는지 알려주십시오. –
image2는 저를위한 주요 것이고, 나는 색상 1없이 관리 할 수 있습니다. [위반] 문서 사용을 피하십시오. ckeditor.js : 557 and [위반] 'setTimeout'처리기가 137ms를 걸렸습니다. ckeditor.js : 250 –