Clean up editor a bit
This commit is contained in:
parent
3386733d77
commit
b8239c0bc4
@ -43,7 +43,7 @@
|
||||
</a>
|
||||
{# If article is not finalized, show button to submit and retract #}
|
||||
{% if article and not article.status.approved %}
|
||||
<button id="button-submit" onclick="submitArticle()">Submit article</button>
|
||||
<button id="button-submit" onclick="submitArticle()" disabled>Submit article</button>
|
||||
{% endif %}
|
||||
{# Header always includes character/player info #}
|
||||
<span>
|
||||
@ -90,14 +90,14 @@
|
||||
{# In edit mode, `article` is specified and `characters` is #}
|
||||
{# not, and the editor pane contains the article editor. #}
|
||||
{% if article %}
|
||||
<div id="editor-buttons">
|
||||
{# <div id="editor-buttons">
|
||||
Character literals:
|
||||
<button>*</button>
|
||||
<button>/</button>
|
||||
<button>[</button>
|
||||
<button>]</button>
|
||||
<button>~</button>
|
||||
</div>
|
||||
</div> #}
|
||||
<input id="editor-title" placeholder="Title" oninput="onContentChange()" disabled value="{{ article.title }}">
|
||||
<textarea id="editor-content" class="fullwidth" oninput="onContentChange()" disabled>
|
||||
{# #}{{ article.contents }}{#
|
||||
|
Loading…
Reference in New Issue
Block a user