not abled to when cmd + z pressed & can we disable cmd + z completely from editor?
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
[Question]: 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 #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....
Issue #635
is there any way to reload grapes editor explicitly?
I want to reload grapes editor to get specific changes, is there any method to reload grapes editor?
Paid Plugins That Match This Issue
Curated by issue keywords and label relevance to help you ship faster.
Loading paid plugin recommendations...
Browse Plugin Categories
Jump directly to plugin category pages on the marketplace.