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
I want to make my own button in TinyMCE (a modification of the link button). But I can't make it Work.
I have tried to create an entry in "config/tinyMceConfig.config"
<command> <umbracoalias>speciallink</umbracoalias> <icon>images/editor/skin.gif</icon> <tinymcecommand value="" userinterface="false" frontendcommand="speciallink">speciallink</tinymcecommand> <priority>75</priority> </command>
And is also adding an entry in the plugin section:
<plugin loadOnFrontend="true">speciallink</plugin>
Then i created a with the name speciallink in "Umbraco_Client/Tinymce3/plugins/" (I have also created the same in "Umbraco/lib/tinymce/plugins/)
In the folder I have created 2 files "plugin.js" and "plugin.mis.js" (both files are empty, because I haven't found out what they shall contain yet).
When i start Umbraco an goes to "Richtext editor" in the "Developer" section an error is shown "Failed to retrieve tinymce configuration"
Anyone knows what I am doing wrong ?
Thanks very much in advance :-)
Hi,
Looks like this config file is camel sensitive. You have to write your config with Capital letters :
<umbracoAlias>speciallink</umbracoAlias> <tinyMceCommand value="" userinterface="false" frontendcommand="speciallink">speciallink</tinyMceCommand>
Cheers, Alex
Hi Alex
Thanks very much for your reply :-)
Now I am not getting any errors, and I can select my button in the developer section on the richeditor. But the button is not showing in the editor.
Any idears to what is wrong?
Hi pnr,
Can you check 'images/editor/skin.gif' image ? Is it right path ?
Check network tab in developers console, maybe some errors.
Thanks
Thanks Again for your reply
The icon is shown in the richeditor configuration in the developer section, and there is no errors in the console
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
My own button in TinyMCE
I want to make my own button in TinyMCE (a modification of the link button). But I can't make it Work.
I have tried to create an entry in "config/tinyMceConfig.config"
And is also adding an entry in the plugin section:
Then i created a with the name speciallink in "Umbraco_Client/Tinymce3/plugins/" (I have also created the same in "Umbraco/lib/tinymce/plugins/)
In the folder I have created 2 files "plugin.js" and "plugin.mis.js" (both files are empty, because I haven't found out what they shall contain yet).
When i start Umbraco an goes to "Richtext editor" in the "Developer" section an error is shown "Failed to retrieve tinymce configuration"
Anyone knows what I am doing wrong ?
Thanks very much in advance :-)
Hi,
Looks like this config file is camel sensitive. You have to write your config with Capital letters :
Cheers, Alex
Hi Alex
Thanks very much for your reply :-)
Now I am not getting any errors, and I can select my button in the developer section on the richeditor. But the button is not showing in the editor.
Any idears to what is wrong?
Thanks very much in advance :-)
Hi pnr,
Can you check 'images/editor/skin.gif' image ? Is it right path ?
Check network tab in developers console, maybe some errors.
Thanks
Hi Alex
Thanks Again for your reply
The icon is shown in the richeditor configuration in the developer section, and there is no errors in the console
is working on a reply...