mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2024-11-22 15:21:52 +00:00
28 lines
1.1 KiB
HTML
28 lines
1.1 KiB
HTML
<div class="HTMLarea">
|
|
{% include "django/forms/widgets/textarea.html" %}
|
|
<!-- this overrides django/forms/widgets/textarea.html
|
|
This is used by the HTML editor stuff that Martin wrote
|
|
|
|
-->
|
|
|
|
{% if preview %}
|
|
<iframe class="HTMLpreview"></iframe>
|
|
{% endif %}
|
|
<button type="button" class="addTag" data-tag="i">italic</button>
|
|
<button type="button" class="addTag" data-tag="b">bold</button>
|
|
<!--
|
|
<button type="button" class="addTag" data-tag="h2" data-attr="id="tophead"">top heading</button>
|
|
-->
|
|
<button type="button" class="addTag" data-tag="h1">heading 1</button>
|
|
<button type="button" class="addTag" data-tag="h2">heading 2</button>
|
|
<button type="button" class="addTag" data-tag="h3">heading 3</button>
|
|
<button type="button" class="addTag" data-tag="h4">heading 4</button>
|
|
<button type="button" class="addTag" data-tag="a" data-attr='href=""'>hyperlink</button>
|
|
<button type="button" class="addTag" data-tag="p">paragraph</button>
|
|
<button type="button" class="addImage">image</button>
|
|
<!--
|
|
<button type="button" class="addStr" data-str="</hr>">horizontal line</button>
|
|
-->
|
|
|
|
</div>
|