... | @@ -23,8 +23,7 @@ Create `app/views/fields/rich_text_area_field/_form.html.erb` |
... | @@ -23,8 +23,7 @@ Create `app/views/fields/rich_text_area_field/_form.html.erb` |
|
<%= f.label field.attribute %>
|
|
<%= f.label field.attribute %>
|
|
</div>
|
|
</div>
|
|
<div class="field-unit__field">
|
|
<div class="field-unit__field">
|
|
<%= f.hidden_field field.attribute, id: field.attribute %>
|
|
<%= f.rich_text_area(field.attribute) %>
|
|
<trix-editor input="<%= field.attribute %>"></trix-editor>
|
|
|
|
</div>
|
|
</div>
|
|
```
|
|
```
|
|
|
|
|
... | | ... | |