Improve markdown editor style, switch to EasyMDE, add to comment reply fields

This commit is contained in:
rubenwardy
2018-12-23 17:02:02 +00:00
parent a7fcce4448
commit 86566bcd39
9 changed files with 48 additions and 35 deletions

View File

@@ -44,7 +44,7 @@
<form method="post" action="{{ url_for('thread_page', id=thread.id)}}" class="card-body">
<input type="hidden" name="csrf_token" value="{{ csrf_token() }}" />
<textarea class="form-control" required maxlength=500 name="comment" placeholder="Markdown supported"></textarea><br />
<textarea class="form-control markdown" required maxlength=500 name="comment"></textarea><br />
<input class="btn btn-primary" type="submit" value="Comment" />
</form>
</div>