refactor: move all ViewPlugin to editorExtendedSyntax

This commit is contained in:
kotaindah55 2025-02-03 20:23:12 +02:00
parent ce8a09d07b
commit 136c4ceb62

View file

@ -0,0 +1,6 @@
import { ViewPlugin } from "@codemirror/view";
import { ExtendedSyntax } from "src/editor-mode/decorator/builder";
export const editorExtendedSyntax = ViewPlugin.fromClass(ExtendedSyntax, {
decorations: value => value.combinedSet,
});