Issue #2430💬 AnsweredOpened November 27, 2019by Indhumathi20160 reactions

Not abled to when cmd + z pressed & can we disable cmd + z completely from editor?

快速解答by artf

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)

artfNovember 29, 2019

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.

Paid Plugins That Match This Issue

Curated by issue keywords and label relevance to help you ship faster.

View all plugins

Loading paid plugin recommendations...

Free option

Check the open-source GrapesJS plugins on GitHub or run a quick search in our free catalog.

Browse free plugins →
Premium option

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.

All tutorials →

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.