mirror of
https://github.com/facebook/lexical.git
synced 2025-08-06 16:39:33 +08:00
Move ParagraphNode to Lexical core (#1237)
This commit is contained in:

committed by
acywatson

parent
d065b5b8a8
commit
ae7de39e69
@ -11,12 +11,11 @@ import type {ElementNode, CommandListenerEditorPriority} from 'lexical';
|
||||
|
||||
import {useEffect} from 'react';
|
||||
import {useLexicalComposerContext} from '@lexical/react/LexicalComposerContext';
|
||||
import {$log, $getSelection} from 'lexical';
|
||||
import {$log, $getSelection, $createParagraphNode} from 'lexical';
|
||||
import {TableNode} from 'lexical/TableNode';
|
||||
import {TableCellNode} from 'lexical/TableCellNode';
|
||||
import {TableRowNode} from 'lexical/TableRowNode';
|
||||
import {$createTableNodeWithDimensions} from '@lexical/helpers/nodes';
|
||||
import {$createParagraphNode} from 'lexical/ParagraphNode';
|
||||
|
||||
const EditorPriority: CommandListenerEditorPriority = 0;
|
||||
|
||||
|
Reference in New Issue
Block a user