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

@@ -16,7 +16,7 @@ import {LexicalElementNodeCreator, LexicalNodeMatcher} from "../nodes";
import {$setBlocksType} from "@lexical/selection";
import {$getNearestNodeBlockParent, $getParentOfType, nodeHasAlignment} from "./nodes";
import {CommonBlockAlignment} from "../nodes/_common";
import {CommonBlockAlignment} from "lexical/nodes/common";
const lastSelectionByEditor = new WeakMap<LexicalEditor, BaseSelection|null>;