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.
123456789101112131415import type { EditorStateConfig } from "@codemirror/state";import { EditorView } from "codemirror";import { writable } from "svelte/store";import { onMount } from "svelte";
export function createCodeMirror(editorState: EditorStateConfig, parentEl?: HTMLElement) { console.log({ editorState }) return new EditorView({ parent: parentEl, ...editorState, })}