editor loads content as initial

master
Bel LaPointe 2022-02-16 15:13:49 -07:00
parent 8c87cdf0b2
commit 51a8c8b425
1 changed files with 1 additions and 2 deletions

View File

@ -113,7 +113,7 @@
element: document.getElementById('my-text-area'),
forceSync: true,
indentWithTabs: false,
initialValue: "loading...",
initialValue: "{{ .This.Content }}",
showIcons: ["code", "table"],
spellChecker: false,
sideBySideFullscreen: false,
@ -133,6 +133,5 @@
},
status: ["lines", "words", "cursor"],
})
easyMDE.value({{ .This.Content }})
</script>
{{ end }}