2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2024-11-28 10:02:10 +00:00
troggle/templates/widgets/HTMLarea.html

23 lines
996 B
HTML
Raw Normal View History

<div class="HTMLarea">
{% include "django/forms/widgets/textarea.html" %}
{% 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=&quot;tophead&quot;">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=&quot;&quot;'>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>