Issue #2603Opened February 26, 2020by CharlesBilbo0 reactions

[BUG] Storage Manager type:remote breaks containment

Question

It seems that whenever the parameter type: 'remote' is added to the storageManager it causes the container to break thus putting elements in visual editor that should not be selectable such as the iframe ( https://imgur.com/a/dytYIV7 ).

var editor = grapesjs.init({ allowScripts: 1, avoidInlineStyle: 0, container: '#gjs', fromElement: 1, forceClass: true, forceID: true, height: '100%', showOffsets: 1, assetManager: { embedAsBase64: 1, assets: images }, storageManager: { type: 'remote', urlStore: '/admin/pages', autosave:0, headers: { "X-CSRF-TOKEN": $('meta[name="csrf-token"]').attr('content'), }, contentTypeJson: true, },

Answers (1)

artfMarch 2, 20200 reactions

@CharlesBilbo if this is a BUG, you have to open the issue correctly by following the template and provide a reproducible demo. From what I see now it might be something wrong on your side, you have the gjs-* class applied on the body?! Definitely something odd to see

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.