ich versuche gerade 3 plugins in den ckeditor einzubauen,damit dieser bootstrap unterstützt, komme aber nicht weiter.
die Plugings habe ich in folgende Verzeichnisse kopiert:
/htmlarea/ckeditor/ckeditor/plugins/bootstrapVisibility
/htmlarea/ckeditor/ckeditor/plugins/btbutton
/htmlarea/ckeditor/ckeditor/plugins/btbutton
dann habe ich die Datei
/htmlarea/ckeditor_s9y_plugin.js
nach
/templates/s9pr/admin/ckeditor_custom_plugin.js
kopiert.
Sobald ich nun
var customplugins = 'mediaembed,procurator,cheatsheet,';
in
var customplugins = 'mediaembed,procurator,cheatsheet,btbutton,';
ändere
funktioniert der ckeditor in s9y nicht mehr. Mit den beiden anderen Plugins gleiches result.
Was ich nicht verstehe ist folgende Anweisung in der ckeditor_s9y_config.js:
Was muss ich da noch machen?"Now add this name also to this files custom copy upper config.toolbarGroup, wherever you like it to have, eg. "{ name: 'mediaembed' }," if that plugin emits a button to be placed into the toolbar.
Or as { name: 'pluginname', items: 'PluginName' } eg { name: 'mediaembed', items: 'MediaEmbed' } in one of the upper toolbars, if that plugin emits a button to be placed into the toolbar.
The ckeditor plugin webpage download procedure will give information about dependency plugins and naming conventions.
After a browser reload, the newly added plugin should load into your textareas toolbars."
Grüße
Reinhard