You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
1.6 KiB
Twig
39 lines
1.6 KiB
Twig
<div role="text-editor-control">
|
|
<button id="edit-bold" class="content-editor-btn-text editor-button" title="bold">
|
|
<i class="ti ti-bold"></i>
|
|
</button>
|
|
<button id="edit-italic" class="content-editor-btn-text editor-button" title="italic">
|
|
<i class="ti ti-italic"></i>
|
|
</button>
|
|
<button id="edit-strikethrough" class="content-editor-btn-text editor-button" title="strikethrough">
|
|
<i class="ti ti-strikethrough"></i>
|
|
</button>
|
|
<button id="edit-link" class="content-editor-btn-icon editor-button" title="insert link">
|
|
<i class="ti ti-link"></i>
|
|
</button>
|
|
<button id="edit-header1" class="content-editor-btn-text editor-button" title="header 1">
|
|
<i class="ti ti-h-1"></i>
|
|
</button>
|
|
<button id="edit-header2" class="content-editor-btn-text editor-button" title="header 2">
|
|
<i class="ti ti-h-2"></i>
|
|
</button>
|
|
<button id="edit-header3" class="content-editor-btn-text editor-button" title="header 3">
|
|
<i class="ti ti-h-3"></i>
|
|
</button>
|
|
<button id="edit-image" class="content-editor-btn-icon editor-button" title="insert image">
|
|
<i class="ti ti-photo"></i>
|
|
</button>
|
|
{% if mode == "edit" %}
|
|
<button id="edit-update" class="post-sumbit-btn submit-start editor-button" data-action='blog-update' data-id="{{ page['uuid'] }} type='submit' title=" bold">
|
|
<i class="ti ti-device-floppy"></i>
|
|
</button>
|
|
<button id="edit-delete" class="content-editor-btn-icon editor-button submit-delete" for="post-delete" title='delete post'>
|
|
<i class="ti ti-x"></i>
|
|
</button>
|
|
{% else %}
|
|
<button id="edit-save" class="post-sumbit-btn submit-start editor-button" data-action='blog-add' type='submit'>
|
|
<i class="ti ti-file-plus"></i>
|
|
</button>
|
|
{% endif %}
|
|
</div>
|