fix not setting value to existing post on edit

pull/383/head
Rob Loranger 5 years ago
parent b3a541ab09
commit 7bccb3d7f1
No known key found for this signature in database
GPG Key ID: D6F1633A4F0903B8
  1. 2
      templates/wysiwyg.tmpl

@ -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…
Cancel
Save