From 2d07682781ff00409133daa1e5bd84fd14d50838 Mon Sep 17 00:00:00 2001 From: Hufe921 Date: Fri, 4 Nov 2022 22:00:47 +0800 Subject: [PATCH] feat:add richtext shortcut key --- src/editor/core/shortcut/Shortcut.ts | 2 +- src/editor/{interface => core}/shortcut/keys/richtextKeys.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename src/editor/{interface => core}/shortcut/keys/richtextKeys.ts (95%) diff --git a/src/editor/core/shortcut/Shortcut.ts b/src/editor/core/shortcut/Shortcut.ts index fe82345..fab6704 100644 --- a/src/editor/core/shortcut/Shortcut.ts +++ b/src/editor/core/shortcut/Shortcut.ts @@ -1,5 +1,5 @@ -import { richtextKeys } from '../../interface/shortcut/keys/richtextKeys' import { IRegisterShortcut } from '../../interface/shortcut/Shortcut' +import { richtextKeys } from './keys/richtextKeys' import { Command } from '../command/Command' import { Draw } from '../draw/Draw' diff --git a/src/editor/interface/shortcut/keys/richtextKeys.ts b/src/editor/core/shortcut/keys/richtextKeys.ts similarity index 95% rename from src/editor/interface/shortcut/keys/richtextKeys.ts rename to src/editor/core/shortcut/keys/richtextKeys.ts index 1a17c63..0a2ac53 100644 --- a/src/editor/interface/shortcut/keys/richtextKeys.ts +++ b/src/editor/core/shortcut/keys/richtextKeys.ts @@ -1,6 +1,6 @@ import { Command } from '../../..' import { KeyMap } from '../../../dataset/enum/KeyMap' -import { IRegisterShortcut } from '../Shortcut' +import { IRegisterShortcut } from '../../../interface/shortcut/Shortcut' export const richtextKeys: IRegisterShortcut[] = [ {