This commit is contained in:
Vanessa 2022-07-21 20:14:12 +08:00
parent 83baa7e232
commit 72593726d6

View file

@ -80,7 +80,7 @@ export const keydown = (protyle: IProtyle, editorElement: HTMLElement) => {
if (!nodeElement) {
return;
}
if (nodeElement.classList.contains("protyle-wysiwyg--select")) {
if (nodeElement.classList.contains("protyle-wysiwyg--select") && !isCtrl(event) && !event.shiftKey && !event.altKey) {
if (event.key.toLowerCase() === "a") {
event.stopPropagation();
event.preventDefault();