Javascript error
-
Hello guys, very sweet plugin, I`ve been looking for something like this but I am tired from extensive content builders. Gridable is exactly what I need!
I just want to let u know I`ve found a little bug when trying to create grid in text form of wp-editor, the grid button throws a JS error:
Uncaught TypeError: Cannot read property 'insertContent' of null at HTMLAnchorElement.<anonymous> (add-row-button.js?ver=1.2.1:52) at HTMLAnchorElement.dispatch (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,plupload&ver=4.8-RC1:3) at HTMLAnchorElement.r.handle (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,plupload&ver=4.8-RC1:3)
which comes from add-row-button.js particulary line 52
tinyMCE.activeEditor.insertContent( row );
probably tinyMCE is not active when initialized in text mode – once I switch over to Visual editor and then back to text editor, error is not omitted 🙂
Cheers Alex!
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Javascript error’ is closed to new replies.