Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/okikio/inthistweet. ✨ Futuristic ✨ twitter image, gif and video downloader. Enter a Tweet URL, cli inthistweet.app
Something went wrong. Try again.
12345678910111213import type { EditorStateConfig } from "@codemirror/state";import { EditorView } from "codemirror";
export function createCodeMirror(editorState: EditorStateConfig, parentEl?: HTMLElement) { console.log({ editorState }) return new EditorView({ parent: parentEl, ...editorState, })}