#4256April 13, 2022by m-jojo-s1 answer
GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? Chrome Version 98.0.4758.80 (Official Build) (arm64) Reproducible demo link https://jsfiddle.net/bd2kpjwf/ Describe the bug How to reproduce the bug?Add two componentsOpen browser dev-tools and enable device mode (CMD+SHIF...
artf
The touch plugin polyfill will work only if you load it with touch device already enabled (try to use the demo), so if you enable touch device later it won't work.
#4255April 13, 2022by am1rb1 answer
GrapesJS version[X] I confirm to use the latest version of GrapesJSWhat browser are you using? Chrome v98.0.4758.80Reproducible demo link https://jsfiddle.net/am1rb/3uzkn5t7/8/Describe the bug How to reproduce the bug?Render a simple component on the canvasSet draggable=false for the component programmaticallySelect t...
artf
Yeah the toolbar is not really dynamic, so if you need to recalculate it, you have to force it manually
#4250April 11, 2022by dinosaurawr1 answer
GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? Chrome v 100.0.4896.75 Reproducible demo link https://stackblitz.com/edit/typescript-ou8qpc?file=index.ts&view=editor Describe the bug How to reproduce the bug?Try to init grapesjs with with index.d.ts What is the expected...
artf
Thanks @dinosaurawr that was fixed here https://github.com/artf/grapesjs/pull/4216/files
#4249April 8, 2022by iamqinglong2 answers
GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? chrome 100 Reproducible demo link https://grapesjs.com/demo.html Describe the bug How to reproduce the bug?I am using externalDrag an image block to canvasSelect an image from the custom modalView the codeCheck the model/t...
m-jojo-s
either use selected.set('src', doc.url) or enable unsafe html attributes Refer to #4148
artf
Yeah, I'd say you should simply switch to selected.set('src', doc.url) as already suggested.
#4248April 7, 2022by protozoo1 answer
GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? VSCode (WebView within VSCode extension) Reproducible demo link https://grapesjs.com/demo.html Describe the bug How to reproduce the bug?Create a new vscode extension (or use one that you already have)Create a Webview that...
artf
Hi @protozoo I'm not sure exactly why but looks like the vscode iframe (probably sandboxed) is blocking the native HTML5 Drag & Drop (this is what is used on Blocks). As this is not strictly related to the core I'll move this one to the di...
#4247April 7, 2022by gustavohleal1 answer
GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? Chromium v96 Reproducible demo link https://grapesjs.com/demo-mjml.html Describe the bug How to reproduce the bug?Add a one column componentSelect the columnClick the copy button on the toolbarRepeat the steps 2 and 3 with...
artf
Sorry but demo-mjml is a plugin and not related directly to the core. As I see no issues with the default renderer of components that might be related to the mjml renderer of components and I have no reason to keep this issue open. Despite...
#4242April 6, 2022by miladmeidanshahi1 answer
GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? Chrome v100 Reproducible demo link https://jsfiddle.net/9rt1xm6p/ Describe the bug How to reproduce the bug? Add page in pageManager and set name. What is the expected behavior? editor.Pages.getAll()[0].name should return...
artf
Properties are not placed directly on the instances. You can use page.getName() to get the name property.
#4240April 5, 2022by varadero2 answers
GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? Chrome 99 Reproducible demo link No link Describe the bug How to reproduce the bug?I was using grapesjs 0.18.2 in my typescript angular class imported like this - import as grapesjs from 'grapesjs';Upgraded to 0.18.4 What...
artf
Should be fixed here https://github.com/artf/grapesjs/pull/4216 I guess you should disable TS for the current version.
aharishsundhar
@artf im using grapesjs latest version ^0.18.4 i install npm grapesjs to run it its error on index.d.ts file can you please update issue npm install: manually change it local: manully update it my side can you please update the modules sid...
#4239April 5, 2022by codingaddictedNo answers
GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? Chrome v100 Reproducible demo link https://grapesjs.com/demo.html Describe the bug How to reproduce the bug?Create a text blockApply a style to block (text color)Create a class and sync the value on itEdit again the color...
#4236April 4, 2022by m-jojo-sNo answers
GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? Chrome Version 98.0.4758.80 (Official Build) (arm64) Reproducible demo link https://grapesjs.com/demo.html Describe the bug How to reproduce the bug?Add a "Tabs" blockCopy a tab from the added componentPaste the tab anywhe...