소스 검색

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

Taichi Masuyama 3 년 전
부모
커밋
0519561f94
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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) {
   keyUpHandler(editor, event) {
-    if (event.key !== 'Backspace') {
+    if (event.key === ':') {
       this.checkWhetherEmojiPickerShouldBeShown();
       this.checkWhetherEmojiPickerShouldBeShown();
     }
     }
   }
   }