1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2026-01-03 23:42:28 +03:00

Lexical: Reorganised custom node code into lexical codebase

Also cleaned up old unused imports.
This commit is contained in:
Dan Brown
2024-12-04 18:53:59 +00:00
parent 57d8449660
commit 9fdd100f2d
41 changed files with 97 additions and 116 deletions

View File

@@ -11,7 +11,7 @@ import {
import {LexicalNodeMatcher} from "../nodes";
import {$generateNodesFromDOM} from "@lexical/html";
import {htmlToDom} from "./dom";
import {NodeHasAlignment, NodeHasInset} from "../nodes/_common";
import {NodeHasAlignment, NodeHasInset} from "lexical/nodes/common";
import {$findMatchingParent} from "@lexical/utils";
function wrapTextNodes(nodes: LexicalNode[]): LexicalNode[] {