Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi,
I am wanting to add a custom button to the TinyMCE RTE that inserts HTML, based on the following example:
tinymce.init({ selector: 'textarea#custom-toolbar-button', toolbar: 'customInsertButton customDateButton', setup: function (editor) { editor.ui.registry.addButton('customInsertButton', { text: 'My Button', onAction: function (_) { editor.insertContent(' <strong>It\'s my button!</strong> '); } }); } });
https://www.tiny.cloud/docs/demo/custom-toolbar-button/#
My issue is, how do I achieve this in Umbraco 13 using the appSettings.json?
Any ideas would be much appreciated.
Thanks,
Ben
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
TinyMCE custom button to insert HTML
Hi,
I am wanting to add a custom button to the TinyMCE RTE that inserts HTML, based on the following example:
https://www.tiny.cloud/docs/demo/custom-toolbar-button/#
My issue is, how do I achieve this in Umbraco 13 using the appSettings.json?
Any ideas would be much appreciated.
Thanks,
Ben
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.