You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not in ckeditor API, but I found out that I need to add the following code in order to show the button on ckeditor cdn 4.7.3 under drupal module:
In plugin.js after this line: init: function (editor) {
add var lang = editor.lang.collapsibleItem; editor.ui.addButton('accordionList', { label: lang.buttonTitle, command: 'accordionList', icon: this.path + 'icons/accordionlist.png' });
sorry if this is not the way to do it, but here is the solution i found for my problem.
The text was updated successfully, but these errors were encountered:
We need to UI buttton for plugin and need to update icon also icons: 'accordionList'
editor.ui.addButton('accordionlist', {
label: 'accordionlist',
command: 'accordionList', // The command that was created by addCommand, above.
toolbar: 'insert' // Defines the toolbar group. Can also specify an index for ordering: 'insert,30' or 'insert,100', or 'insert,0'.
});
I am not sure if this is a best solution, but it solved my problem.
Hi.
I'm not in ckeditor API, but I found out that I need to add the following code in order to show the button on ckeditor cdn 4.7.3 under drupal module:
In plugin.js after this line:
init: function (editor) {
add
var lang = editor.lang.collapsibleItem; editor.ui.addButton('accordionList', { label: lang.buttonTitle, command: 'accordionList', icon: this.path + 'icons/accordionlist.png' });
sorry if this is not the way to do it, but here is the solution i found for my problem.
The text was updated successfully, but these errors were encountered: