-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrich-editor.html
More file actions
17 lines (17 loc) · 857 Bytes
/
rich-editor.html
File metadata and controls
17 lines (17 loc) · 857 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<!-- <pat-rich-editor> -->
<textarea
name="{{ include.textarea_name }}"
{% if page.saved_state == 'locked' %}disabled{% endif %}
class="pat-tiptap {% if include.autofocus == true %}pat-autofocus{% endif %}"
placeholder="{{ include.placeholder }}"
data-pat-tiptap="
toolbar-external: #{{ include.toolbar | default: 'editor-toolbar' }};
source-panel: {{ include.html-source-panel }};
image-panel: {{ include.image-panel }};
embed-panel: {{ include.embed-panel }};
link-panel: {{ include.link-panel }};
image-menu: {{ include.image-menu }};
link-menu: {{ include.link-menu }};
mentions-menu: {{ include.mentions-menu }};
tags-menu: {{ include.tags-menu }}">{% if include.content %}{{ include.content | markdownify }}{% endif %}</textarea>
<!-- </pat-rich-editor> -->