forked from rDrama/rDrama
master
parent
3c5f9c2088
commit
a7a30a4ee2
|
@ -109,7 +109,7 @@
|
|||
<label for="body" class="mt-3">Text<i class="fas fa-info-circle text-gray-400 ml-1" data-bs-toggle="tooltip" data-bs-placement="top" data-bs-original-title="Uses markdown. Limited to 10000 characters."></i></label>
|
||||
|
||||
<div>
|
||||
<textarea autocomplete="off" 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()" {% if v.longpost %}minlength="280"{% endif %} maxlength="{% if v.bird %}140{% else %}10000{% endif %}" required></textarea>
|
||||
<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()" {% if v.longpost %}minlength="280"{% endif %} maxlength="{% if v.bird %}140{% else %}10000{% endif %}" required></textarea>
|
||||
|
||||
<div class="btn btn-secondary fl-r mt-3" onclick="document.getElementById('preview').classList.toggle('d-none');">
|
||||
Toggle preview
|
||||
|
@ -184,7 +184,7 @@
|
|||
</div>
|
||||
<div class="col text-right">
|
||||
{% if error %}<span class="text-danger mr-2">{{error}}</span>{% endif %}
|
||||
<button class="btn btn-outline-purple" id="create_button" type="submit" disabled>Post</button>
|
||||
<button class="btn btn-outline-purple" id="create_button" onclick="savetext()" type="submit" disabled>Post</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -197,8 +197,10 @@
|
|||
<script src="/static/assets/js/marked.js?a=3"></script>
|
||||
<script src="/static/assets/js/formatting.js?a=3"></script>
|
||||
<script src="/static/assets/js/submit.js?a=3"></script>
|
||||
|
||||
|
||||
<script>
|
||||
function savetext() {
|
||||
}
|
||||
</script>
|
||||
{% include "emoji_modal.html" %}
|
||||
{% include "gif_modal.html" %}
|
||||
|
||||
|
|
Loading…
Reference in New Issue