/
PluginEvent.ts
48 lines (47 loc) · 1.9 KB
/
PluginEvent.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
import type { BeforeCutCopyEvent } from './BeforeCutCopyEvent';
import type { BeforeDisposeEvent } from './BeforeDisposeEvent';
import type { BeforeKeyboardEditingEvent } from './BeforeKeyboardEditingEvent';
import type { BeforePasteEvent } from './BeforePasteEvent';
import type { BeforeSetContentEvent } from './BeforeSetContentEvent';
import type { ContentChangedEvent } from './ContentChangedEvent';
import type { ContextMenuEvent } from './ContextMenuEvent';
import type { EditImageEvent } from './EditImageEvent';
import type { EditorInputEvent } from './EditorInputEvent';
import type { EditorReadyEvent } from './EditorReadyEvent';
import type { EntityOperationEvent } from './EntityOperationEvent';
import type { ExtractContentWithDomEvent } from './ExtractContentWithDomEvent';
import type { CompositionEndEvent, KeyDownEvent, KeyPressEvent, KeyUpEvent } from './KeyboardEvent';
import type { LogicalRootChangedEvent } from './LogicalRootChangedEvent';
import type { MouseDownEvent, MouseUpEvent } from './MouseEvent';
import type { ScrollEvent } from './ScrollEvent';
import type { SelectionChangedEvent } from './SelectionChangedEvent';
import type { EnterShadowEditEvent, LeaveShadowEditEvent } from './ShadowEditEvent';
import type { ZoomChangedEvent } from './ZoomChangedEvent';
/**
* Editor plugin event interface
*/
export type PluginEvent =
| BeforeCutCopyEvent
| BeforeDisposeEvent
| BeforeKeyboardEditingEvent
| BeforePasteEvent
| BeforeSetContentEvent
| CompositionEndEvent
| ContentChangedEvent
| ContextMenuEvent
| EditImageEvent
| EditorReadyEvent
| EnterShadowEditEvent
| EntityOperationEvent
| ExtractContentWithDomEvent
| EditorInputEvent
| KeyDownEvent
| KeyPressEvent
| KeyUpEvent
| LeaveShadowEditEvent
| LogicalRootChangedEvent
| MouseDownEvent
| MouseUpEvent
| ScrollEvent
| SelectionChangedEvent
| ZoomChangedEvent;