-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathform-field-rich-editor.html
More file actions
29 lines (29 loc) · 1.01 KB
/
form-field-rich-editor.html
File metadata and controls
29 lines (29 loc) · 1.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<!-- <pat-form-field-rich-editor> -->
{% assign this_placeholder = include.placeholder %}
{% assign this_autofocus = include.autofocus %}
{% assign allow_this = include.allow = %}
<div
{% include patterns/form-field-auto-save-attributes %}
class="
{% include patterns/form-field-auto-save-classes %}
pat-rich-editor
{% unless include.allow %}toolbar-detached{% endunless %}">
{% if include.allow %}
<div
class="pat-toolbar inline">
{% include patterns/rich-editor-toolbar.html
allow=allow_this
id=include.toolbar_id %}
</div>
{% endif %}
<div
class="pat-rich">
{% include
patterns/rich-editor.html
placeholder=this_placeholder
toolbar=include.toolbar
autofocus=this_autofocus
content=include.content %}
</div>
</div>
<!-- </pat-form-field-rich-editor> -->