We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
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.
new CustomEvent('custom-button', { detail: 'saveAs' })
The text was updated successfully, but these errors were encountered:
No branches or pull requests
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:
Clicking the button should then just send out a
new CustomEvent('custom-button', { detail: 'saveAs' })
or whatever the custom button name was.The text was updated successfully, but these errors were encountered: