Issue #4570Opened September 8, 2022by rahul-singh-bv1 reactions

BUG: TypeError: m.render is not a function

Question

GrapesJS version

  • I confirm to use the latest version of GrapesJS

What browser are you using?

Chrome Version 105.0.5195.102 (Official Build) (x86_64)

Reproducible demo link

Describe the bug

How to reproduce the bug?

  1. Create a new custom code block and add an iframe tag such as `<iframe src="http://localhost:8888/embed/shopping-list"></iframe>

What is the expected behavior? It inserts an iframe in the canvas

What is the current behavior? It errors out and fails

If is necessary to execute some code in order to reproduce the bug, paste it here below: No

Error log

TypeError: m.render is not a function
    at a.value (ComponentsView.js:86:23)
    at a.value (ComponentsView.js:39:10)
    at y (backbone.js:371:57)
    at m (backbone.js:356:19)
    at h (backbone.js:155:16)
    at u.trigger (backbone.js:346:5)
    at n._onModelEvent (backbone.js:1187:20)
    at y (backbone.js:372:58)
    at m (backbone.js:357:22)
    at h (backbone.js:155:16) {level: 'error'}

Code of Conduct

  • I agree to follow this project's Code of Conduct

Answers (1)

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.