TinyMCE React add custom component to toolbar – Reactjs
When creating a TinyMCE editor in React, it is possible to add a custom button to the toolbar using the following code: <Editor ... init={{ ... setup: (editor) => { editor.ui.registry.addButton('test' { text: 'Test', onAction: () => console.log('Test') }); }…