-
Notifications
You must be signed in to change notification settings - Fork 22
Open
Description
Is it possible to add custom button? For example I want to add a 'save' button, but would prefer to have it in the toolbar.
Maybe in the configuration for the editor, it could be possible to set something like this:
{
// ...
customButtons: {
save: 'https://example.org/...', // path to button SVG
saveAs: 'https://example.org/...',
},
// ...
buttons: [ 'select', 'free', 'save', 'saveAs', 'trash' ]
}Clicking the button should then just send out a new CustomEvent('custom-button', { detail: 'saveAs' }) or whatever the custom button name was.
Metadata
Metadata
Assignees
Labels
No labels