File tree Expand file tree Collapse file tree 2 files changed +12
-9
lines changed Expand file tree Collapse file tree 2 files changed +12
-9
lines changed Original file line number Diff line number Diff line change 6
6
*
7
7
*/
8
8
9
- import type {
10
- BaseSelection ,
11
- ElementFormatType ,
12
- LexicalCommand ,
13
- LexicalNode ,
14
- TextFormatType ,
15
- } from 'lexical' ;
9
+ import type { LexicalCommand } from './LexicalEditor' ;
10
+ import type { LexicalNode } from './LexicalNode' ;
11
+ import type { BaseSelection } from './LexicalSelection' ;
12
+ import type { ElementFormatType } from './nodes/LexicalElementNode' ;
13
+ import type { TextFormatType } from './nodes/LexicalTextNode' ;
16
14
17
15
export type PasteCommandType = ClipboardEvent | InputEvent | KeyboardEvent ;
18
16
Original file line number Diff line number Diff line change 7
7
*/
8
8
9
9
/* eslint-disable no-constant-condition */
10
- import type { EditorConfig , LexicalEditor } from './LexicalEditor' ;
10
+ import type {
11
+ EditorConfig ,
12
+ Klass ,
13
+ KlassConstructor ,
14
+ LexicalEditor ,
15
+ } from './LexicalEditor' ;
11
16
import type { BaseSelection , RangeSelection } from './LexicalSelection' ;
12
17
13
- import { Klass , KlassConstructor , NODE_STATE_KEY } from 'lexical' ;
14
18
import invariant from 'shared/invariant' ;
15
19
16
20
import {
@@ -23,6 +27,7 @@ import {
23
27
$isTextNode ,
24
28
type DecoratorNode ,
25
29
ElementNode ,
30
+ NODE_STATE_KEY ,
26
31
} from '.' ;
27
32
import { $updateStateFromJSON , type NodeState } from './LexicalNodeState' ;
28
33
import {
You can’t perform that action at this time.
0 commit comments