mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-27 01:43:22 +00:00
Actually, this should not be sanitize before going through trix editor
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
|
||||
= f.field_container :description do
|
||||
= f.label :description, t(:description)
|
||||
= f.hidden_field :description, id: "product_description", value: sanitize(@product.description, scrubber: TrixScrubber.new)
|
||||
= f.hidden_field :description, id: "product_description", value: @product.description
|
||||
%trix-editor{ input: "product_description", "data-controller": "trixeditor" }
|
||||
|
||||
.right.four.columns.omega
|
||||
|
||||
Reference in New Issue
Block a user