fix: image floats, link color metadata

This commit is contained in:
trisua 2025-07-25 18:06:29 -04:00
parent dbd70d9592
commit 06b0aa0b4c
9 changed files with 43 additions and 14 deletions

View file

@ -104,7 +104,7 @@ globalThis.init_editor = (
autoCloseBrackets: true,
autofocus: true,
viewportMargin: Number.POSITIVE_INFINITY,
inputStyle: "contenteditable",
inputStyle: "textarea",
highlightFormatting: false,
fencedCodeBlockHighlighting: false,
xml: false,
@ -141,6 +141,10 @@ globalThis.tab_editor = () => {
document.getElementById("editor_tab_button").classList.remove("camo");
document.getElementById("preview_tab_button").classList.add("camo");
document.getElementById("metadata_tab_button").classList.add("camo");
if (document.getElementById("metadata_css")) {
document.getElementById("metadata_css").remove();
}
};
globalThis.tab_preview = async () => {