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