EditorJS
EditorJS copied to clipboard
Define tools per field
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
Hi Alex! I tried to implement this feature, but it didn't go well since we need to initiate a lot of scripts on page. But you can try, i'll review your PR!