GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? Version 111.0.5563.147 (Official Build) (64-bit) Reproducible demo link https://grapesjs.com/demo.html Describe the bug How to reproduce the bug? this is the image link where you can check https://ibb.co/0Qg7nTK What is th...
artf
@Spiral1234 there is a big difference between a default value and the defined one (even if it's the same as default). For example on desktop you define float: right and on mobile float: none, you still need the possibility on mobile to rem...
abubaker417
@artf, let me define you one more time. My question is that if I click on the default value of any module like for float I select `none then cross svg should be display: none same as I want for others position, text-align if someone will s...
artf
@Spiral1234 it shouldn't be display: none if you SELECT the default value, try to read carefully again the use case explained above, having the default value and selected one is DIFFERENT.
Em α» Viα»t nam(I'm From Viα»t Nam) I hope for help . link github: https://github.com/GrapesJS/grapesjs/discussions/5011
GJS Helper
It sounds like you're encountering a common issue when working with custom components in GrapesJS, specifically related to how attributes are defined and serialized. The src attribute, while standard for an <img> tag, is not automatically...
GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? Chrome v91 Reproducible demo link https://jsfiddle.net/szLp8h4n Describe the bug $html = str_replace(" ' "," \' ",$html); Code of Conduct [X] I agree to follow this project's Code of Conduct
artf
Provide a valid reproducible demo link, not the one used as a template
GJSBlock
Thanks for reporting this, @sandipshirawala. The issue with aphostrope problem in grapejs - 's not showing while displaying from html string appears to be a race condition or state management timing problem. This typically happens when com...
GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? Chrome Reproducible demo link https://jsfiddle.net/1vknjLst/ Describe the bug How to reproduce the bug? click run What is the expected behavior? load and save in the new storage should be called and console should display...
artf
You have to use the plugin plugins: [dbStoragePlugin, 'gjs-blocks-basic']With autosave: false you're disabling the autosave, which means the Storage.store will be triggered only if called programatically (eg. editor.store())There is no set...
wyxcoder
thank you! that works fine
GJSBlock
Thanks for reporting this, @wyxcoder. Great question about new storage doesn't work. The recommended approach with GrapesJS is to use the event-driven API. Start here: Check the GrapesJS documentation for your specific module Look for the...
GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? Chrome Version 110.0.5481.78 (Official Build) (64-bit) Reproducible demo link https://grapesjs.com/demo.html Describe the bug How to reproduce the bug?Install GrapesJs with npm or CDN and initialize as usual to a container...
artf
Closing as this is not related to the core but to the demo page, please make a PR if you want to suppress those warnings
ghost
this is related to core not demo page , since i used the demo page for illustration
GJSBlock
Thanks for reporting this, @ghost. Great question about *. The recommended approach with GrapesJS is to use the event-driven API. Start here: Check the GrapesJS documentation for your specific module Look for the on() event listener method...
GrapesJS version[X] I confirm to use the latest version of GrapesJSWhat browser are you using? Firefox 108.0.2Reproducible demo link not possible in jsfiddleDescribe the bug grapesjs-cli - 3.0.1 grapesjs - 0.20.3 How to reproduce the bug?add a newblock with this template literal with a class attribute containing an @...
artf
I'll update the escape function, for now you can provide your own via this option
GJSBlock
Thanks for reporting this, @agreif. Great question about '@' sign in class-attribute value of block content changes to '-' sign when using template literals. The recommended approach with GrapesJS is to use the event-driven API. Start here...
GrapesJS version[X] I confirm to use the latest version of GrapesJSWhat browser are you using? Chrome Version 108.0.5359.125, Mozilla 107.0Reproducible demo link https://jsfiddle.net/stanislavdimitrenko/d61cm4yg/14/Describe the bug So, that strange behavior of grapes js. If you have that struct "Some text without the...
artf
Yeah right now this is an expected behaviour for parsed text nodes without proper wrappers and not textable components as siblings. So in order to make those nodes editable you have to properly wrap them in a tag like span.
GJSBlock
Thanks for reporting this, @sdimitrenco. The issue with Can't edit text node inside div, if div has inside tag p > span. appears to be a race condition or state management timing problem. This typically happens when component lifecycle eve...
GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? Chrome Reproducible demo link https://jsfiddle.net/6c7xw3Lu/2/ Describe the bug Screencast from 23-12-22 12:24:15 PM IST.webm DragMode Issues on Version 0.20.2 The Dragging visually is not viewed on video kindly check once...
artf
This is related to this issue and it's ready for the next release.
GJSBlock
Thanks for reporting this, @AgnRakul. The issue with Issues on setDragMode in version 0.20.2 appears to be a race condition or state management timing problem. This typically happens when component lifecycle events and DOM modifications ov...
GrapesJS version[X] I confirm to use the latest version of GrapesJSWhat browser are you using? 108.0.5359.73Reproducible demo link https://user-images.githubusercontent.com/44830209/56891735-89203380-6a8e-11e9-8d42-c530d5aa0ae2.gifDescribe the bug bug resize image Hi ! I have some issues when i want resize an image. W...
MrRainDrop9x
I have the same issue, can someone help us?
artf
I'd say to refer to this issue for all bugs related to absolute mode.
GJSBlock
Thanks for reporting this, @phamthanhbinh4796. The issue with Bug resize image appears to be a race condition or state management timing problem. This typically happens when component lifecycle events and DOM modifications overlap, creatin...
Not a bug, you just need to refresh the AssetManager assets (editor.Assets.clear().add(newAssets)) as the editor is probably already loaded.
GJSBlock
Thanks for reporting this, @Aar-if. Thanks for sharing your report about Add images to Asset Manager. To help the team investigate and prioritize this: Please provide: A minimal reproducible example (CodeSandbox/JSFiddle) Your GrapesJS ver...