lib/formtastic/inputs/trix_editor_input.rb in trix-editmode-0.0.1 vs lib/formtastic/inputs/trix_editor_input.rb in trix-editmode-0.0.2
- old
+ new
@@ -7,10 +7,10 @@
}
editor_tag = template.content_tag('trix-editor', '', editor_tag_params)
hidden_field = builder.hidden_field(method, input_html_options)
- editor = template.content_tag('div', editor_tag + hidden_field, class: 'trix-editor-wrapper')
+ editor = template.content_tag('div', hidden_field + editor_tag, class: 'trix-editor-wrapper')
label_html + editor
end
end
end