forked from expo/troggle
Added help writing HTML in the cave editing form. Made the HTML previews optional
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
<div class="HTMLarea">
|
||||
{% include "django/forms/widgets/textarea.html" %}
|
||||
<iframe id=preview class="HTMLpreview" {% include "django/forms/widgets/attrs.html" with widget=iframe %}></iframe>
|
||||
{% 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>
|
||||
|
||||
Reference in New Issue
Block a user