Force TinyMce to reload when updating custom plugin #647
Vgratioulet
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, I share my latest issue & solution :
I just updated my custom TinyMce plugin (that handles placeholders),
and I saw that for the update to be effective on the clients, I had to force reloading of TinyMce,
with the 'cache_suffix' parameter
https://www.tiny.cloud/docs/configure/integration-and-setup/#cache_suffix
so for a Mosaico plugin it is :
ko.bindingHandlers.wysiwyg.standardOptions['cache_suffix'] = '?v=' + versionCache;
Beta Was this translation helpful? Give feedback.
All reactions