#6374January 17, 2025by Harshsne261 answer
GrapesJS version [x] I confirm to use the latest version of GrapesJS What browser are you using? Chrome Reproducible demo link https://codepen.io/Harshsne/pen/gbYjOWO Describe the bug How to reproduce the bug? I have called onactive on single click so that i can edit the textbox in single click. The cursor should be p...
mohamedsalem401
Hey, I've checked your code and tried to debug it. It seems to me that the code is not passing the mouse event to the onActive method, which is needed: ```js componentEl.addEventListener('click', (ev) => { component.view.onActive(ev); });
#6373January 16, 2025by ChipiKaf1 answer
GrapesJS version [x] I confirm to use the latest version of GrapesJS What browser are you using? Version 131.0.6778.265 Reproducible demo link https://codepen.io/chipikaf/pen/KwPexjL Describe the bug How to reproduce the bug? Drop the button component in the Middle section Move the button anywhere in the section Resiz...
ChipiKaf
@artf I have a fix for it locally. Essentially what I do is check if the element has a parent with relative position, then offset the rect by the height of the parent if it exists and is position relative. I can create a PR for it if that'...
#6369January 14, 2025by hubermat1 answer
GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? Chrome v130 Reproducible demo link https://grapesjs.com/demo-newsletter-editor.html Describe the bug How to reproduce the bug?in the editor, select any elementin the styles section, go to border radius What is the expected...
DarrenHou1993
This change fixes the UI issue, but it introduces a value issue here. When setting the bottom-left corner radius, it actually modifies the bottom-right corner instead.
#6365January 8, 2025by MLMarxx3 answers
GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? Chrome Version 131.0.6778.205 Reproducible demo link https://codesandbox.io/p/sandbox/naughty-microservice-5hp3h4 Describe the bug How to reproduce the bug:Add the dark-style class to the body: js editor.CssComposer.addRul...
artf
Yeah, that's not supported as there might be some performance implications trying to match any possible rule there. What you can do though is select any rule via styleManager.select
MLMarxx
Ok, thanks for clarification - currently using select, any ideas how to target media tags that way?
artf
You can get the CSSRule you need (getRule) and then pass it to styleManager.select
#6358December 19, 2024by rhoenerSBS1 answer
GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? Chrome v131 Reproducible demo link https://jsfiddle.net/0uaxn2vc/2/ Describe the bug How to reproduce the bug?open link to fiddleselect body or other component where components can be addedtry to add component only by clic...
artf
Thanks @rhoenerSBS the issue was fixed here and will be available in the next release.
#6357December 13, 2024by Harshsne26No answers
GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? Chrome Reproducible demo link https://codepen.io/Harshsne/pen/YPKwRBg Describe the bug How to reproduce the bug?Add row component from blockmanager.change its width in stylemanager .(!important is added because its default...
#6354December 13, 2024by RakulAgn1 answer
GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? Chrome Reproducible demo link https://grapesjs.com/demo Describe the bug How to reproduce the bug?Just Visit the Demo Site of Grapesjs the canvas not been rendered What is the expected behavior? The Canvas Should be Render...
artf
Closing this as the demo seems to run fine, maybe something related to your browser cache/extensions
#6348December 7, 2024by Frubl1 answer
GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? Chrome Reproducible demo link https://grapesjs.com/demo.html Describe the bug How to reproduce the bug?Try select for example whole sidebar tools/text/everythingGrab and drop it on canvas What is the expected behavior? Pro...
artf
You can take control over what is dropped inside the canvas via canvas:dragdata event https://jsfiddle.net/artur_arseniev/87rcb24n/
#6345December 6, 2024by VanTranTrucPhuong1 answer
GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? Chrome Version 131.0.6778.109 (Official Build) (64-bit) Reproducible demo link https://grapesjs.com/demo-newsletter-editor Describe the bug How to reproduce the bug?Place the mouse pointer at the starting position of the t...
sirbeagle
I believe I have tracked this down to being a conflict with the ability to select multiple blocks at the same time. Commenting out on line 539 in /src/editor/model/Editor.ts seems to prevent the selected text from clearing. I'm now looking...
#6332November 26, 2024by tim-promNo answers
GrapesJS version[X] I confirm to use the latest version of GrapesJSWhat browser are you using? Chrome v131Reproducible demo link https://jsfiddle.net/cmq9end2/1/Describe the bug How to reproduce the bug?Add an img to the canvas with an invalid URL in the srcset Check the network tab in Chrome dev console - the asset r...