Fix autosave working with the new description field

This commit is contained in:
Jorge Manrubia
2025-04-21 17:05:35 +02:00
parent 2c3ec3e806
commit 4f0cf0f5cb
+1 -1
View File
@@ -20,7 +20,7 @@
<div class="card__description margin-block-half">
<%= form.markdown_area :description, class: "input input--textarea full-width borderless txt-align-start card-field__description",
placeholder: "Add some notes, context, pictures, or video about this…",
data: { action: "house-md:change->auto-save#change blur->auto-save#submit keydown.ctrl+enter->form#submit:prevent keydown.meta+enter->form#submit:prevent keydown.esc->form#cancel:stop paste->paste#pasteFiles" } %>
data: { action: "house-md:change->auto-save#change focusout->auto-save#submit keydown.ctrl+enter->form#submit:prevent keydown.meta+enter->form#submit:prevent keydown.esc->form#cancel:stop paste->paste#pasteFiles" } %>
</div>
<% end %>
<% end %>