Skip to content

Commit

Permalink
Fix import issue with line break nodes (#3593)
Browse files Browse the repository at this point in the history
  • Loading branch information
thegreatercurve authored and Lexical GitHub Actions Bot committed Dec 19, 2022
1 parent b5dca91 commit 0e6c4f1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/lexical/src/nodes/LexicalTextNode.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
import type {
EditorConfig,
LexicalEditor,
Spread,
TextNodeThemeClasses,
} from '../LexicalEditor';
import type {
Expand All @@ -24,7 +25,6 @@ import type {
RangeSelection,
} from '../LexicalSelection';

import {$createLineBreakNode, Spread} from 'lexical';
import {IS_FIREFOX} from 'shared/environment';
import invariant from 'shared/invariant';

Expand Down Expand Up @@ -63,6 +63,7 @@ import {
internalMarkSiblingsAsDirty,
toggleTextFormatType,
} from '../LexicalUtils';
import {$createLineBreakNode} from './LexicalLineBreakNode';

export type SerializedTextNode = Spread<
{
Expand Down

0 comments on commit 0e6c4f1

Please sign in to comment.