Not abled to when cmd + z pressed & can we disable cmd + z completely from editor?
You can track undo/redo events and managing shortcuts (eg. in your case, removing default one) with Keymaps API
Read full answer below βQuestion
Hi,
I can't able to track cmd + z pressed in anywhere since i want to perform some actions when undoing changes, i have acheived that with undo manager when i click on undo button but i can't do with cmd + z, is there any way to do this?
Or i just want to restrict the ctrl + z option since have undo button in editor itself, is that possible?
Thanks
Answers (1)
You can track undo/redo events and managing shortcuts (eg. in your case, removing default one) with Keymaps API
Related Questions and Answers
Continue research with similar issue discussions.
Issue #1639
Would it be possible to have change settings under style manager in a way that it has href when a link is created?
I'm using preset newsletter with built-in RTE (do not want to use ck editor like the demo) In order to make any text to link, i need to cli...
Issue #3146
There are so many clicks required to enable RTE can i edit text with just single click
There are so many clicks required to enable RTE can i edit text with just single click i tried by adding attribute contenteditable but stor...
Issue #3577
The UndoManager hasUndo() method returns true when it shouldnt
I am trying to disable the undo button when there are no undo actions to do. To do so, I am listening to 'change:changesCount' event, and u...
Issue #467
Set the focus to some other element
I am opening a pop up on click o some element, but the focus is still on the element on which I click. I want to focus the pop up element....
Paid Plugins That Match This Issue
Curated by issue keywords and label relevance to help you ship faster.
Loading paid plugin recommendations...
Check the open-source GrapesJS plugins on GitHub or run a quick search in our free catalog.
Browse free plugins βPremium plugins ship with support, regular updates, and production-ready features β save days of integration work.
Browse premium plugins βRelated tutorials
In-depth guides on the same topic.
Tutorial
Messaging on gjs.market: talk to a studio before you buy, not after
We've launched private messaging between buyers and studios. One thread per buyerβstudio pair, the whole history in one place.
Tutorial
Vanilla GrapesJS vs GrapesJS With Plugins: What You Actually Get Out of the Box (2026)
New to GrapesJS? See exactly what the stock editor gives you, where it falls short, and which plugins close the gaps β a beginner-friendly 2026 comparison
Tutorial
Lighthouse for GrapesJS: Audit Accessibility and SEO Without Leaving the Editor
Live WCAG 2.1/2.2 accessibility auditor + SEO manager for GrapesJS. Every finding is bound to the exact component β click to select, then one-click fix.
Browse Plugin Categories
Jump directly to plugin category pages on the marketplace.