Skip to content

Commit

Permalink
Fixed textarea pre-value issue
Browse files Browse the repository at this point in the history
  • Loading branch information
yukozh committed Jul 1, 2016
1 parent 6dad41c commit 311b449
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/YuukoBlog/Views/Default/Shared/Post.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
</p>
<p>
<div class="markdown-textbox-outer">
<textarea id="txtContent" class="markdown-textbox" name="Content" placeholder="Markdown here..."></textarea>
<textarea id="txtContent" class="markdown-textbox" name="Content" placeholder="Markdown here...">@(new HtmlString(Model.Content))</textarea>
<div class="markdown-textbox-bottom">拖拽文件、粘贴文件或<a href="javascript:uploadAttachment();">选择文件</a>以添加附件。</div>
</div>
</p>
Expand Down
2 changes: 1 addition & 1 deletion src/YuukoBlog/Views/Moon/Shared/Post.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
</p>
<p>
<div class="markdown-textbox-outer">
<textarea id="txtContent" class="markdown-textbox" name="Content" placeholder="Markdown here..."></textarea>
<textarea id="txtContent" class="markdown-textbox" name="Content" placeholder="Markdown here...">@(new HtmlString(Model.Content))</textarea>
<div class="markdown-textbox-bottom">拖拽文件、粘贴文件或<a href="javascript:uploadAttachment();">选择文件</a>以添加附件。</div>
</div>
</p>
Expand Down

0 comments on commit 311b449

Please sign in to comment.