Javascript error when inserting shortcode from another plugin
-
Hello. We have a plugin called EasyAzon which looks up a product in Amazon and creates a special shortcode and inserts it into the editor window. This works just fine in a normal post editor window.
However we are trying to insert an EasyAzon shortcode into a table cell in TablePress. So we choose to do the advanced editing of the cell and we get the more advanced TablePress editor and use the EasyAzon button but when we try to insert the shortcode, we get this javascript error in EasyAzon’s code:
TypeError: _.parent.send_to_editor is not a function popup.js:62:12
So it seems that either _.parent is not defined or it is defined but there’s no send_to_editor function. Is this an issue with TablePress or EasyAzon? Is there any fix we can implement for this? Thanks!
- The topic ‘Javascript error when inserting shortcode from another plugin’ is closed to new replies.