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

inlineToolbar config is invalid for paragraph #771

Closed
Seaony opened this issue May 19, 2019 · 2 comments
Closed

inlineToolbar config is invalid for paragraph #771

Seaony opened this issue May 19, 2019 · 2 comments
Assignees

Comments

@Seaony
Copy link

Seaony commented May 19, 2019

Like this:

  this.editor = new EditorJS({
      /**
       * Id of Element that should contain Editor instance
       */
      holderId: 'editor',
      tools: {
        paragraph: {
          class: Paragraph,
          inlineToolbar: ['bold'],
          config: {
            placeholder: 'Enter text...'
          }
        },
        header: {
          class: Header,
          inlineToolbar: false,
          config: {
            placeholder: 'Enter a header'
          }
        }
      }
    })

then:
image

InlineToolbar seems to have lost its effect in the paragraph because I am misconfigured?

@gohabereg
Copy link
Member

Hi @Seaony
Will be resolved in 2.14 release

@Seaony
Copy link
Author

Seaony commented May 21, 2019

Thanks!

@Seaony Seaony closed this as completed May 23, 2019
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