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!


Answers (2)
try to place your code inside
editor.on('load', () => {
// ...
})
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.
Issue #2148
[QUESTION] IE11 (Unable to get property 'style' of undefined)
Hi! Just faced the same issue: https://github.com/artf/grapesjs/issues/1295#issuecomment-410046832 While click on one of this buttons this....
Issue #3315
mm or cm Units are converted to px
I realized that mm or cm units are converted to px. How can i solve this problem? Thank you
Issue #678
Help Wanted
Hello, 2 queries : 1) How to Add a LOGO as in Demo webpage. 2) How to move the block manager, Style Manager from Right Side to Left Side. T...
Issue #1294
How to add category for default block manager?
@artf I want put all default blocks to category named "Basic". But I can't find any documents about it. I use editor.BlockManager.getAll()....
Paid Plugins That Match This Issue
Curated by issue keywords and label relevance to help you ship faster.
Loading paid plugin recommendations...
Browse Plugin Categories
Jump directly to plugin category pages on the marketplace.