Troy Chaplin
Member
Posted 5 months ago #
When using the advanced linking tool, all the drop down menus are not returning any values.
Using chrome the console shows the following error when the modal is triggered:
tiny_mce_popup.js:5
Uncaught TypeError: Object [object Object] has no method '_add'
tinyMCEPopup._onDOMLoaded
I know it's very early in 3.5, but I thought you should be aware of the issue given how many people use your plugin.
I've tested this running 3.5 with Twenty Twelve, and no other plugins activated except the TinyMCE Advanced
Thanks!
Troy
http://wordpress.org/extend/plugins/tinymce-advanced/
everville
Member
Posted 5 months ago #
I fixed it by modifying tiny_mce_popup.js
Replace...
tinymce.dom.Event._add(document, "focus", function () {
With...
tinymce.dom.Event.add(document, "focus", function () {
Troy Chaplin
Member
Posted 5 months ago #
Wish I could say the same, this did nothing to fix the issue. In any event, I have a rule of thumb to never modify core files or plugins, so I'll wait until Ozz has time to look into this and release a new version.
beardedgit
Member
Posted 5 months ago #
Thank you, everville. I've applied your fix and it's working for me.
Just updated the plugin to 3.5.8 (to match the TinyMCE version in WordPress 3.5). This should be fixed now.
beardedgit
Member
Posted 5 months ago #
3.5.8 works for me :-)
Thank you, Andrew.
Troy Chaplin
Member
Posted 5 months ago #
Awesome! Thanks for the quick update Andrew!
amassociates
Member
Posted 4 months ago #
having issues with linking inside editor. Any fixes yet on this?