remove unused frontend code

This commit is contained in:
Nicole Tietz-Sokolskaya 2024-06-02 22:12:54 -04:00
parent 1b92663f02
commit 74f4ab8380

View file

@ -5,8 +5,6 @@ import {markdown} from "@codemirror/lang-markdown"
export function makeEditor(divSelector, value) {
let div = document.querySelector(divSelector);
div.classList.remove("hidden");
div.classList.remove("h-0");
let documentTheme = EditorView.theme({
"&": {
@ -38,7 +36,5 @@ export function makeEditor(divSelector, value) {
textarea.value = view.state.doc.toString()
})
// remove the "hidden" and "h-0" classes from the div
return view
}