mirror of
https://github.com/CharaChorder/DeviceManager.git
synced 2026-02-07 01:32:41 +00:00
18 lines
304 B
TypeScript
18 lines
304 B
TypeScript
import {
|
|
EditorView,
|
|
ViewPlugin,
|
|
ViewUpdate,
|
|
type PluginValue,
|
|
} from "@codemirror/view";
|
|
|
|
export const changesPlugin = ViewPlugin.fromClass(
|
|
class implements PluginValue {
|
|
constructor(readonly view: EditorView) {}
|
|
|
|
update(update: ViewUpdate) {}
|
|
},
|
|
{
|
|
eventHandlers: {},
|
|
},
|
|
);
|