[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)
@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.
Issue #6202
BUG: Javascript CDN not working on grapejs canvas
GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? 129 Reproducible demo link https://grapesj...
Issue #4371
BUG: All editors broken after last update that broke storage manager.
GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? Chrome Reproducible demo link https://www....
Issue #3097
BUG: Custom traits not showing up
I am trying to make custom traits following the guidelines from Grapesjs Trait manager, and I have been through previous issues but the tra...
Issue #1407
[QUESTIONS] EXTRA TBODY ADDED EVERY TIME I SAVED THE HTML DATA.
Hi @artf, I had an issue when I have tables in the editor and I add new rows then if my table is saved when is loaded again an extra tbody...
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.