소스 검색

Added more safe keys.

Kamil Piechaczek 7 년 전
부모
커밋
0c6ebfe1a7
1개의 변경된 파일6개의 추가작업 그리고 1개의 파일을 삭제
  1. 6 1
      packages/ckeditor5-typing/src/utils/injectunsafekeystrokeshandling.js

+ 6 - 1
packages/ckeditor5-typing/src/utils/injectunsafekeystrokeshandling.js

@@ -131,12 +131,17 @@ const safeKeycodes = [
 	35, // Home
 	36, // End,
 	45, // Insert,
+	91, // Windows,
+	93, // Menu key,
+	144, // NumLock
+	145, // ScrollLock,
 	173, // Mute/Unmute
 	174, // Volume up
 	175, // Volume down,
 	176, // Next song,
 	177, // Previous song,
-	179, // Play/Stop,
+	178, // Stop,
+	179, // Play/Pause,
 	255 // Display brightness (increase and decrease)
 ];