app/components/avo/edit/fields/markdown_field_component.html.erb in avo-1.3.0 vs app/components/avo/edit/fields/markdown_field_component.html.erb in avo-1.3.1

- old
+ new

@@ -3,9 +3,10 @@ <%= @form.text_area @field.id, class: helpers.input_classes('w-full js-has-simple-mde-editor', has_error: @field.model_errors.include?(@field.id)), placeholder: @field.placeholder, disabled: @field.readonly, 'data-simple-mde-target': 'element', + 'data-component-options': @field.options.to_json, 'data-view': :edit %> </div> <% end %>