Browse Source

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

Taichi Masuyama 3 years ago
parent
commit
0519561f94
1 changed files with 1 additions and 1 deletions
  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();
     }
   }