[BUG]: TypeError: Cannot read property 'get' of undefined
Question
Version:
0.16.22
Are you able to reproduce the bug from the demo?
[x] Yes [ ] No
What is the expected behavior?
no errors in the console.
Describe the bug detailed
TypeError: Cannot read property 'get' of undefined
at apply (./node_modules/grapesjs/dist/grapes.min.js:11:64180)
at HTMLDocument.r (./node_modules/@sentry/browser/esm/helpers.js:71:23)
File involved is: https://github.com/artf/grapesjs/blob/6296bf8c970f700aa69e44728b7db80833452f69/src/dom_components/view/ComponentTextView.js#L61
const { model, rte, activeRte, em } = this;
const editable = model.get('editable'); // if model is undefined we have the bug
Answers (2)
Weird (the view component can't exist without the model), are you able to provide exact steps to reproduce the issue?
This issue has been automatically closed because there has been no response to our request for more information from the original author. With only the information that is currently in the issue, we don't have enough information to take action. Please reach out if you have or find the answers we need so that we can investigate further.
Related Questions and Answers
Continue research with similar issue discussions.
Issue #3045
BUG: Problem importing CSS and module in nodejs es6
Version: 0.16.22 Are you able to reproduce the bug from the demo? [x] Yes [ ] No What is the expected behavior? To import grapejs css and m...
Issue #3131
BUG: Paste as plain text into Text component adds <font /> wrapper to pasted text
Version: 0.16.27 Are you able to reproduce the bug from the demo? [] Yes [X] No What is the expected behavior? Paste as plain text (text no...
Issue #2892
BUG: CanvasView.clearOff not called when parent element is scrolled
v0.16.18 (also tested v0.16.22) Are you able to reproduce the bug from the demo? [X] Yes [ ] No What is the expected behavior? grapesjs sho...
Issue #3594
BUG: Hover on component when parent of editor scrolls, show wrong positioning
Version: 0.17.19 Are you able to reproduce the bug from the demo? No, because its full screen and there is no parent container scroll. What...
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.