fix not setting value to existing post on edit

This commit is contained in:
Rob Loranger 2020-03-11 08:38:36 -07:00
parent b3a541ab09
commit 7bccb3d7f1
No known key found for this signature in database
GPG Key ID: D6F1633A4F0903B8
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@
<!-- </div> -->
<div id="editor" style="margin-bottom: 0"></div>
<div style="display: none"><textarea id="content">{{if .Post.Content }}{{.Post.Content}}{{end}}</textarea></div>
<div style="display: none"><textarea id="content"{{if .Post.Content }} value={{.Post.Content}}>{{.Post.Content}}{{else}}>{{end}}</textarea></div>
<header id="tools">
<div id="clip">