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,
we need a new button to be added to the umbraco tinymce editor that will wrap
Thanks
Create custom function of TinyMCE button with plugin, see in below link:-
https://our.umbraco.org/forum/developers/extending-umbraco/11488-Custom-Button-TinyMCE
http://blogs.msdn.com/b/mikerichter/archive/2010/12/20/how-to-add-a-custom-button-and-plugin-to-tinymce-in-umbraco-4-5.aspx
Grazitti
Hi Alex. Were you able to solve the task? What approach did you choose?
Hi Tommy,
Yes, we added the custom button.
New js file to \Umbraco\lib\tinymce\plugins\pluginName\plugin.min.js:
tinymce.PluginManager.add('pluginName', function (editor) { editor.addButton('pluginName', { icon: 'custom icon-book-alt', tooltip: 'plugin Name', onclick: function (e) { } }); });
New section to config\tinyMceConfig.config:
<command> <umbracoAlias>pluginName</umbracoAlias> <icon>images/editor/code.gif</icon> <tinyMceCommand value="" userInterface="true" frontendCommand="pluginName">pluginName</tinyMceCommand> <priority>75</priority> </command>
Thanks,
Alex
Hi Alex,
You wouldn't happen to know how to edit config\tinyMceConfig.config using package actions would you?
config\tinyMceConfig.config
Hi Rhys
Sadly, I don't know an easy way to do it. Please share with us if you found out )
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Custom Button at TinyMCE
Hi,
we need a new button to be added to the umbraco tinymce editor that will wrap
Thanks
Hi,
Create custom function of TinyMCE button with plugin, see in below link:-
https://our.umbraco.org/forum/developers/extending-umbraco/11488-Custom-Button-TinyMCE
http://blogs.msdn.com/b/mikerichter/archive/2010/12/20/how-to-add-a-custom-button-and-plugin-to-tinymce-in-umbraco-4-5.aspx
Grazitti
Hi Alex. Were you able to solve the task? What approach did you choose?
Hi Tommy,
Yes, we added the custom button.
New js file to \Umbraco\lib\tinymce\plugins\pluginName\plugin.min.js:
New section to config\tinyMceConfig.config:
Thanks,
Alex
Hi Alex,
You wouldn't happen to know how to edit
config\tinyMceConfig.config
using package actions would you?Hi Rhys
Sadly, I don't know an easy way to do it. Please share with us if you found out )
Alex
is working on a reply...