mirror of
https://github.com/writefreely/writefreely
synced 2024-11-10 03:24:11 +00:00
fix not setting value to existing post on edit
This commit is contained in:
parent
b3a541ab09
commit
7bccb3d7f1
1 changed files with 1 additions and 1 deletions
|
@ -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">
|
||||
|
|
Loading…
Reference in a new issue