Revert "remove "toggle preview" button"

This reverts commit d2036a34f3.
master
Aevann1 2022-06-28 04:06:57 +02:00
parent 1b55885f6d
commit 8475a2352e
1 changed files with 4 additions and 0 deletions

View File

@ -126,6 +126,10 @@
<textarea form="submitform" id="post-text" class="form-control rounded" aria-label="With textarea" placeholder="Optional if you have a link or an image." rows="7" name="body" oninput="markdown('post-text','preview');charLimit('post-text','character-count-submit-text-form');checkForRequired();savetext()" {% if v.longpost %}minlength="280"{% endif %} maxlength="{% if v.bird %}140{% else %}20000{% endif %}" required></textarea>
<div class="btn btn-secondary fl-r mt-2" onclick="document.getElementById('preview').classList.toggle('d-none');">
Toggle preview
</div>
<div class="text-small font-weight-bold mt-1" id="character-count-submit-text-form" style="right: 1rem; bottom: 0.5rem; z-index: 3;"></div>
<p></p>