feat:rich text editor by canvas

This commit is contained in:
黄云飞
2021-11-12 22:22:05 +08:00
commit 2739d4069f
36 changed files with 1251 additions and 0 deletions
+2
View File
@@ -0,0 +1,2 @@
export const ZERO = '\u200B'
export const WRAP = '\n'
+13
View File
@@ -0,0 +1,13 @@
export enum KeyMap {
Backspace = 'Backspace',
Enter = "Enter",
Left = "ArrowLeft",
Right = "ArrowRight",
Up = "ArrowUp",
Down = "ArrowDown",
A = "a",
C = "c",
X = "x",
Y = "y",
Z = "z"
}