Title: Javascript error
Last modified: July 27, 2017

---

# Javascript error

 *  [NiteoThemes](https://wordpress.org/support/users/niteo/)
 * (@niteo)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/javascript-error-128/)
 * 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)

 *  Plugin Contributor [Andrei Lupu](https://wordpress.org/support/users/euthelup/)
 * (@euthelup)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/javascript-error-128/#post-9400704)
 * Thank you for your feedback Alex!
 * We build Gridable for a better visual editing experience, and it is based on 
   features from the Visual Editor tab.
    I agree that it should not trigger a Javascript
   error, and we will fix that, but I don’t think that it will work on the text 
   editor.
 * Thanks again,
    Andrei

Viewing 1 replies (of 1 total)

The topic ‘Javascript error’ is closed to new replies.

 * ![](https://ps.w.org/gridable/assets/icon.svg?rev=1499139)
 * [Gridable](https://wordpress.org/plugins/gridable/)
 * [Support Threads](https://wordpress.org/support/plugin/gridable/)
 * [Active Topics](https://wordpress.org/support/plugin/gridable/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/gridable/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/gridable/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Andrei Lupu](https://wordpress.org/support/users/euthelup/)
 * Last activity: [8 years, 10 months ago](https://wordpress.org/support/topic/javascript-error-128/#post-9400704)
 * Status: not a support question