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...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
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...