mirror of
https://github.com/kotaindah55/extended-markdown-syntax.git
synced 2026-07-22 05:38:06 +00:00
refactor: move all ViewPlugin to editorExtendedSyntax
This commit is contained in:
parent
ce8a09d07b
commit
136c4ceb62
1 changed files with 6 additions and 0 deletions
6
src/editor-mode/extensions/index.ts
Normal file
6
src/editor-mode/extensions/index.ts
Normal 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,
|
||||||
|
});
|
||||||
Loading…
Reference in a new issue