mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-13 21:05:19 +00:00
feat(editor): selection as store extension (#9605)
This commit is contained in:
@@ -4,7 +4,6 @@ import type { Command } from './command/index.js';
|
||||
import type { EventOptions, UIEventHandler } from './event/index.js';
|
||||
import type { BlockService, LifeCycleWatcher } from './extension/index.js';
|
||||
import type { BlockStdScope } from './scope/index.js';
|
||||
import type { SelectionConstructor } from './selection/index.js';
|
||||
import type { BlockViewType, WidgetViewMapType } from './spec/type.js';
|
||||
|
||||
export const BlockServiceIdentifier =
|
||||
@@ -33,6 +32,3 @@ export const KeymapIdentifier = createIdentifier<{
|
||||
getter: (std: BlockStdScope) => Record<string, UIEventHandler>;
|
||||
options?: EventOptions;
|
||||
}>('Keymap');
|
||||
|
||||
export const SelectionIdentifier =
|
||||
createIdentifier<SelectionConstructor>('Selection');
|
||||
|
||||
Reference in New Issue
Block a user