2022-06-26 18:29:20 +01:00
|
|
|
<div class="HTMLarea">
|
2022-06-26 14:16:42 +01:00
|
|
|
{% include "django/forms/widgets/textarea.html" %}
|
2022-06-26 21:29:46 +01:00
|
|
|
{% if preview %}
|
|
|
|
<iframe class="HTMLpreview"></iframe>
|
|
|
|
{% endif %}
|
2022-06-26 18:29:20 +01:00
|
|
|
<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>
|
2022-06-26 14:16:42 +01:00
|
|
|
</div>
|