Skip to content

Define tools per field #22

Description

@PubliAlex

Is your feature request related to a problem? Please describe.
The same way we can define toolbar buttons for rich editor, it would be great to be able to define toolbar buttons for editorjs

Describe the solution you'd like
We can use the same parameter "toolbarButtons" with the list of plugins we want to activate for that field, eg :

fieldName:
    label: Content
    type: editorjs
    span: full
    toolbarButtons: heading, list, attachments, image, etc....

Additional context
Ideally, this solution should take care of additionnal script added with the registerEditorBlocks() method.

Do you think it can be done ?

Best regards,

Alex

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