Calling all developers! We invite you to provide your input on Feature Experimentation by completing this brief survey.
Calling all developers! We invite you to provide your input on Feature Experimentation by completing this brief survey.
Hi,
You should check which part of the chain returns "undefined". Try to use "watch window" or split this line into several assignments. It could be
tinyMCEPopup.editor.dom.select('#' + accordionID)
or
tinyMCEPopup.editor.dom
or
tinyMCEPopup.editor
I'm working eith microsoft 8.1 environment and when i check that part it is fine.Working well.But issue is when i host the site and logged using mac book safari browser it throws the error in the console.
I Tested with other environment and other browsers.Also Safari installed with windows and tested.It worked fiine.Only not properly working when i use safari browser in mac book .
I have created tinymce accordion plugin and it is working fine in other browsers.But it throw an error of "TypeError:undefined is not an object " when insert and onclick.
It basically adding content and push them in to the editor as an accordion.
When i using safari in macbook air and when adding to the content to the editor it show this error in console and not adding them to the editor.
Here is the js code inside HTML file
Here is the Js code
I can insert first accordion text to the editor.But after second text it throw this issue in console and pointing out this position