I need to make some changes to the media picker plugin in Tinymce to give me more flexibility. I am making changes in the following folder.
/Umbraco_Client/Tinymce3/Plugins/umbracoimg/
The problem is that none of the changes I make are reflected in the editor. In fact, I can delete all the plugins from this folder, clear the cache and everything still works as nomal!
Can anybody please shed some light on why this is and what I need to do to make these changes? I'm using version 7.1.3
Edit:
I've seen that the plugins also exist in:
/Umbraco\lib/tinymce/plugins/umbracoimg/
However, editing this also has absolutely no effect. Very confused...
Has this changed since the reply that has been marked as the answer?
I'm trying to add, class="rte-image" to all images added through the editor.
I've increased the version number on the clientDependency, and touched web.config AND restarted the application, but still this doesn't get added.
Is there anything else I have to do to get this to work?
Making changes to Tinymce plugins
Hi,
I need to make some changes to the media picker plugin in Tinymce to give me more flexibility. I am making changes in the following folder.
/Umbraco_Client/Tinymce3/Plugins/umbracoimg/
The problem is that none of the changes I make are reflected in the editor. In fact, I can delete all the plugins from this folder, clear the cache and everything still works as nomal!
Can anybody please shed some light on why this is and what I need to do to make these changes? I'm using version 7.1.3
Edit:
I've seen that the plugins also exist in:
/Umbraco\lib/tinymce/plugins/umbracoimg/
However, editing this also has absolutely no effect. Very confused...
In my tinkering you'll be fine making changes to the /umbraco/lib/tinymce folder, but you'll need to iterate the clientdependency.config value:
<clientDependency version="xxx" ... />
and "tough" the web.config or restart the application. This will have Umbraco reload the TinyMCE scripts.
Thanks very much Lucas. Changing the dependancy version did the trick.
Has this changed since the reply that has been marked as the answer?
I'm trying to add, class="rte-image" to all images added through the editor.
I've increased the version number on the clientDependency, and touched web.config AND restarted the application, but still this doesn't get added. Is there anything else I have to do to get this to work?
I'm editing the line
Am I doing it totally wrong?
is working on a reply...