Issue #3442Opened May 7, 2021by zgeist4 reactions

BUG: Error after call `editor.destroy()`

Question

Create editor instance

Try destroy

const editor = grapesjs.init({
	container: '#gjs',
        height: '100%',
        storageManager: false
});

editor.destroy();

Got error

image

Answers (3)

artfMay 18, 20214 reactions

Thanks for the report, I'll try to fix it in the next release

@ershadul1 nope, there is a FrameWrapView (stuff around the iframe, like wrappers, tools for selection etc.), and inside there is a FrameView (the iframe itself), but probably for some remove ordering issue, the frame is removed before its wrapper.

PRTTMPRPHTMay 18, 20210 reactions

+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.