Skip to content

Commit 1a7a3bf

Browse files
author
ilimei
committed
feat: 移除始终高亮插件
1 parent d03c643 commit 1a7a3bf

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

src/plugins/common/plugin/index.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ import { LexicalEditor } from "lexical/LexicalEditor";
22
import { $createHeadingNode, $createQuoteNode, $isQuoteNode, HeadingNode, HeadingTagType, QuoteNode, registerRichText } from '@lexical/rich-text';
33
import { registerDragonSupport } from '@lexical/dragon';
44
import { createEmptyHistoryState, registerHistory } from '@lexical/history';
5-
import { selectionAlwaysOnDisplay } from '@lexical/utils';
65
import { IEditorKernel, IEditorPlugin } from "@/editor-kernel";
76
import JSONDataSource from "../data-source/json-data-source";
87
import { IEditorPluginConstructor } from "@/editor-kernel/types";
@@ -124,7 +123,6 @@ export const CommonPlugin: IEditorPluginConstructor<CommonPluginOptions> =
124123
registerRichText(editor),
125124
registerDragonSupport(editor),
126125
registerHistory(editor, createEmptyHistoryState(), 300),
127-
selectionAlwaysOnDisplay(editor),
128126
)
129127
}
130128

0 commit comments

Comments
 (0)