feat:选区样式变化监听

This commit is contained in:
黄云飞
2021-11-18 16:15:12 +08:00
parent 1f703336ca
commit 8926127fa5
10 changed files with 149 additions and 33 deletions
+13
View File
@@ -0,0 +1,13 @@
export interface IRangeStype {
undo: boolean;
redo: boolean;
format: boolean;
bold: boolean;
italic: boolean;
underline: boolean;
strikeout: boolean;
color: string | null;
highlight: string | null;
}
export type IRangeStyleChange = (payload: IRangeStype) => void;