实现markdown编辑器

This commit is contained in:
Minho
2017-04-26 18:17:38 +08:00
parent f91ad51e3f
commit 8c85227c30
614 changed files with 80785 additions and 70030 deletions

View File

@@ -72,6 +72,17 @@
<input type="text" class="form-control" name="label" placeholder="项目标签" value="{{.Model.Label}}">
<p class="text">最多允许添加10个标签多个标签请用“;”分割</p>
</div>
<div class="form-group">
<label>编辑器</label>
<div class="radio">
<label class="radio-inline">
<input type="radio"{{if eq .Model.Editor "markdown"}} checked{{end}} name="editor" value="markdown"> Markdown编辑器
</label>
<label class="radio-inline">
<input type="radio"{{if eq .Model.Editor "html"}} checked{{end}} name="editor" value="html"> Html编辑器
</label>
</div>
</div>
<div class="form-group">
<label>开启评论</label>
<div class="radio">