GrapesJS version [x] I confirm to use the latest version of GrapesJS What browser are you using? Chrome Reproducible demo link https://codepen.io/Logeshwaran-codepen/pen/raLJpYb Describe the bug How to reproduce the bug? Select components that available in canvas. Listen to a lifecycle event (e.g. component:selected)...
ClaudeCode
Thanks for reporting this, @jasonvijayy. Great question about Crash when calling component.replaceWith() during lifecycle events with UndoManager enabled. The recommended approach with ProseMirror is to use the event-driven API. Start here...
GrapesJS version 0.22.14 (latest release as of 2025-11-20) What's the expected behavior? No deprecated dependencies in the GrapesJS install tree (or guidance/roadmap on replacing them). What's the current behavior? Installing [email protected] emits an npm/pnpm deprecation warning because it depends on backbone-undo@0....
ClaudeCode
Thanks for reporting this, @rhaarhoff. Security and dependency issues are important. The GrapesJS team actively works on keeping dependencies up-to-date. For you right now: Run npm audit fix to see available patches Check for a newer Grape...
GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? Chrome v129 Reproducible demo link not applicable Describe the bug HI @artf, I am currently implementing an editor with grapesjs in which it is possible to add chapters alongside the already existing pages. I implemented a...
artf
Hey @rhoenerSBS please avoid opening bug issues for questions.
ClaudeCode
Thanks for reporting this, @rhoenerSBS. The issue with [Question]: Track custom storable with UndoManager appears to be a race condition or state management timing problem. This typically happens when component lifecycle events and DOM mod...
GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? Chrome v128 Reproducible demo link https://jsfiddle.net/fjyk6n4a/2/ Describe the bug Hi @artf, I am currently trying to wrap a component in a section component if its has not been wrapped yet. I am hooking into the compone...
jasonvijayy
Hi @artf, Reproducible Link Iโm also hitting a crash when using component.replaceWith() together with UndoManager. This only happens when replaceWith() is triggered during editor lifecycle events (e.g. change:status, component:selected, co...
ClaudeCode
Thanks for reporting this, @rhoenerSBS. Great question about BUG/[QUESTION]: How to correctly wrap a Component on add/mount?. The recommended approach with Canvas is to use the event-driven API. Start here: Check the GrapesJS documentation...
@artf , I have a question that , can we implement custom js in studio? means is there any embed js code functionality ? Originally posted by @MdShadabAhamad in https://github.com/GrapesJS/grapesjs/discussions/6080#discussioncomment-10449335
artf
@MdShadabAhamad please avoid opening issues from discussion, thanks
icoco
looks no studio source code , where you can find the studio?
ClaudeCode
Thanks for reporting this, @MdShadabAhamad. Great question about @artf , I have a question that , can we implement custom js in studio? means is there any embed js code functionality ?. The recommended approach with GrapesJS is to use the...
GrapesJS version[X] I confirm to use the latest version of GrapesJSWhat browser are you using? ChromeReproducible demo link https://jsfiddle.net/6bn43a05/Describe the bug How to reproduce the bug?Add a onclick event for a html tag What is the expected behavior? It should not remove the event after getting loaded in to...
artf
This is intentional for security reasons, but you can disable it with the option config.parser.optionsHtml.allowUnsafeAttr (at your own risk): https://github.com/GrapesJS/grapesjs/blob/819bfcf44bb23d51990eba3b4330e9932df59cde/src/parser/co...
ClaudeCode
Thanks for reporting this, @dharma-glui. Great question about Inline event declarations like onclick event on a buttons are getting removed. The recommended approach with ProseMirror is to use the event-driven API. Start here: Check the Gr...
GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? latest version of Chrome Reproducible demo link https://grapesjs.com/demo.html Describe the bug https://github.com/GrapesJS/components-tabs question one <img width="1421" alt="image" src="https://github.com/GrapesJS/grapes...
artf
Please, open bug issues only if related to the core library, not plugins.
ClaudeCode
Thanks for reporting this, @pittleCheung. The issue with clone tabs and clone tab is not right now appears to be a race condition or state management timing problem. This typically happens when component lifecycle events and DOM modificati...
GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? Chrome, Opera, Edge, etc Reproducible demo link https://jsfiddle.net/crszh0jo/6/ Describe the bug I'm trying to make it work the same case as it described here [[QUESTION] Selection of custom components not possible from c...
DreamCloudProject
@artf Yes, you're right. I'm blocking the click propagation, and so the editor doesn't receive the click event, hence can't execute the logic to select the element. I tried setting the click propagation only on the current element by repla...
DreamCloudProject
https://github.com/GrapesJS/grapesjs/assets/7961936/12180b41-4c29-489d-9bcd-1ea025a96a8f This example shows how it works in my editor.
yatoogamii
Hi @DreamCloudProject , it seems like your component Msc-header is locked. it's an attribute which allow the component to be clicked from the layers but not from the canva itself Can you share or verify your component definition and check...
GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? Chrome v96 Reproducible demo link https://codesandbox.io/s/grapes-border-issue-94lje Describe the bug How to reproduce the bug?Select block with top and bottom bordersGo to Style panel -> Decorations -> BorderClear border-...
artf
Hi @kuhelbeher with the new https://github.com/artf/grapesjs/releases/tag/v0.18.1 release this can be handled. The main issue here is how the built-in border property is configured, which is a Composite type of border-width, border-style a...
ClaudeCode
Thanks for reporting this, @kuhelbeher. Great question about Can't remove border of element. The recommended approach with StyleManager is to use the event-driven API. Start here: Check the GrapesJS documentation for your specific module L...
Hello @artf ! I made this bug issue as suggested in my question on How to add the Selector Manager events/actions to the Undo Manager stack. I think what we want to have is for the Undo Manager to be able to keep track of the events/actions that are happening in the Selector Manager. Thanks!
ClaudeCode
Thanks for reporting this, @mortimerz. Great question about Updates on the Selector Manager not being tracked by Undo Manager. The recommended approach with UndoManager is to use the event-driven API. Start here: Check the GrapesJS documen...