Cannot read property '_cash(some random numbers)' of undefined on newsletter demo.
The export of the demo is not intended to be importable... In your case, #wrapper{ style rule breaks stuff, the RTE it doesn't work due to the optimized export code
Read full answer below ↓Question
I'm having some issue when I load some templates and modify. and it looks like grapesjs newsletter demo is also having this issue. I have couple of templates and if i copy and paste into newsletter demo and try to modify it from there, it gives me this error message 'Cannot read property '_cash(some random numbers)' of undefined.' In order to reproduce this error, please follow the steps above.go to newsletter demo pagecopy the html and css code that I've attached below and paste it using import template button on top.try to modify the contentsError is on console now and the built-in rich tex...
Answers (2)
The export of the demo is not intended to be importable...
In your case, #wrapper{ style rule breaks stuff, the RTE it doesn't work due to the optimized export code
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Related Questions and Answers
Continue research with similar issue discussions.
Issue #1772
Cannot read property 'indexOf' of undefined
Hello, I am spinning up a new instance of grapeJS, and immediately everything breaks and I get the following error: Cannot read property 'i...
Issue #1633
Editor.runCommand('gjs-get-inlined-html') returns undefined (preset-webpage)
Hi, Artur I'm using grapesjs-preset-webpage v0.1.10, grapesjs v0.14.29 I'm trying to save templates with inline css rather than having clas...
Issue #1614
Adding css variables as style manager property
trying to add css variable to style manager causing error: Uncaught TypeError: Cannot read property 'toUpperCase' of undefined fiddle Am i...
Issue #1520
On this.components() Error : Uncaught TypeError: Cannot read property 'each' of undefined
Get below error for this.components() not sure if it is bug or I am doing something wrong. Uncaught TypeError: Cannot read property 'each'...
Paid Plugins That Match This Issue
Curated by issue keywords and label relevance to help you ship faster.
Loading paid plugin recommendations...
Check the open-source GrapesJS plugins on GitHub or run a quick search in our free catalog.
Browse free plugins →Premium plugins ship with support, regular updates, and production-ready features — save days of integration work.
Browse premium plugins →Related tutorials
In-depth guides on the same topic.
Browse Plugin Categories
Jump directly to plugin category pages on the marketplace.