Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to install button in toolbar? #8

Open
efkz opened this issue Jul 27, 2017 · 1 comment
Open

How to install button in toolbar? #8

efkz opened this issue Jul 27, 2017 · 1 comment

Comments

@efkz
Copy link

efkz commented Jul 27, 2017

No button in toolbar after installation.
Custom toolbar and Default toolbar.

@jrochate
Copy link

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:
var lang = editor.lang.collapsibleItem;

   editor.ui.addButton('collapsibleItem', {
      label: lang.buttonTitle,
      command: 'collapsibleItem',
     icon: this.path + 'icons/collapsibleitem.png'
   });

sorry if this is not the way to do it, but here is the solution i found for my problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants