Thank you for the report. If I may ask, where is that version number from? This plugin doesn’t have a version like that.
Thread Starter
nc_nc
(@nc_nc)
sorry, was looking at the wrong line. It is Version 1.6.1
It sounds like you might have the Pro version of the plugin. If that’s the case, please contact me using this contact form instead of posting here. It’s against wordpress.org rules to use these forums to provide support for paid plugins.
Also, please let me know which WP version and Classic Editor version (if applicable) you’re using.
Thread Starter
nc_nc
(@nc_nc)
In that case, what you’re seeing is actually a limitation of the free version. It doesn’t protect code from being changed by the visual editor. That’s why the plugin documentation says “to avoid problems, only edit posts that contain your custom code in Text/HTML mode”.
I don’t think CORS is involved in this case. Switching from Text to Visual and back can cause code changes on any site, even on local installs.
Thread Starter
nc_nc
(@nc_nc)
That would render WP useless…
Well, the Visual editor does have its issues. If you have to use it, maybe you could get the Pro version, or get one of the plugins that let you create custom shortcodes that output your HTML/JS/other content (for example, Shortcoder).