Parcourir la source

Resolved conflict cherry-picking https://github.com/weseek/growi/pull/6562/commits/23d5919145659378b7007f48f5d68a982d2938a5

Taichi Masuyama il y a 3 ans
Parent
commit
0519561f94
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      packages/app/src/components/PageEditor/CodeMirrorEditor.jsx

+ 1 - 1
packages/app/src/components/PageEditor/CodeMirrorEditor.jsx

@@ -587,7 +587,7 @@ class CodeMirrorEditor extends AbstractEditor {
   }
 
   keyUpHandler(editor, event) {
-    if (event.key !== 'Backspace') {
+    if (event.key === ':') {
       this.checkWhetherEmojiPickerShouldBeShown();
     }
   }