Skip to content

not working..... #1

Open
Open
@blackcatcjy

Description

@blackcatcjy

Thank you for publish this plugin! I need it very much.

when i imported this pulgin in my ckeditor, the toolbar button has displayed, but it was not enabled.

my code is like this:

import ElementAddAttributes from './ckeditor5-add-attribute-to-element-main/src/add-attribute-to-element';
BalloonEditor.builtinPlugins = [....., ElementAddAttributes,];
BalloonEditor.defaultConfig = {
toolbar: {
items: [....,'elementAddAttributes',]
},
image: {
toolbar: [....]
},
table: {
contentToolbar: [....]
},
language: 'cn'
};

Then I can see this button in toolbar but not enable, like this:
image

I have tried to use command, it doesn't work too.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions