Issue #3350Opened March 18, 2021by devtechk4 reactions

Uncaught TypeError: can't access property "el", n is undefined

Question

Hello, I'm using grapesjs 0.16.44 and only in firefox I'm faceing this issue. Using grapesjs block basic preset. Anyone can help me?

Thank you a lot!

image

image

Answers (2)

artfMarch 21, 20214 reactions

try to place your code inside

editor.on('load', () => {
 // ...
})
devtechkMarch 18, 20210 reactions

Problem "solved" removing :

const panelManager = editor.Panels;
**panelManager.getButton('views', 'open-blocks').set('active', true);**

looking for a better solution to make active the block panel af first

I've also noticed other conflict like with my custom modals and modal from export plugin (clicking export plugin was fire my custom modal on FFox), or for example panel that i've remode appeared again i've solved putting everything in my code inside

window.onload = function(){
    //my code here
}

Related Questions and Answers

Continue research with similar issue discussions.

Paid Plugins That Match This Issue

Curated by issue keywords and label relevance to help you ship faster.

View all plugins

Loading paid plugin recommendations...

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.