fix: image floats, link color metadata
This commit is contained in:
parent
dbd70d9592
commit
06b0aa0b4c
9 changed files with 43 additions and 14 deletions
|
@ -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 () => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue