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