import { defaultKeymap } from "https://esm.sh/@codemirror/commands";
import { sql } from "https://esm.sh/@codemirror/lang-sql";
import { EditorState } from "https://esm.sh/@codemirror/state";
import { EditorView, keymap } from "https://esm.sh/@codemirror/view";
let startState = EditorState.create({
doc: "Hello World",
extensions: [keymap.of(defaultKeymap)],
});
let view = new EditorView({
state: startState,
parent: document.body,
});