mirror of
https://github.com/DMOJ/online-judge.git
synced 2024-11-25 16:32:37 +08:00
c126f07fe7
This reverts commits: -2035e606f3
-ce1196f74f
Since they do not interact well with dark mode.
15 lines
676 B
HTML
15 lines
676 B
HTML
<div id="{{ id|safe }}-wmd-wrapper" class="wmd-wrapper">
|
|
<div class="wmd-panel">
|
|
<div id="{{ id|safe }}_wmd_button_bar"></div>
|
|
<textarea{{ attrs|safe }}>{{ body }}</textarea>
|
|
</div>
|
|
|
|
{% if show_preview %}
|
|
<div id="{{ id|safe }}-preview" data-preview-url="{{ preview_url }}" data-textarea-id="{{ id }}"
|
|
data-timeout="{{ preview_timeout or '' }}" class="wmd-panel wmd-preview dmmd-preview {{ extra_classes }}">
|
|
<div class="dmmd-preview-update"><i class="fa fa-refresh"></i> {{ _('Update preview') }}</div>
|
|
<div class="dmmd-preview-content content-description"></div>
|
|
</div>
|
|
{% endif %}
|
|
</div>
|