Move ParagraphNode to Lexical core (#1237)

This commit is contained in:
Dominic Gannaway
2022-02-08 01:25:19 +00:00
committed by acywatson
parent d065b5b8a8
commit ae7de39e69
43 changed files with 167 additions and 113 deletions

View File

@ -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;