Fix: rich text content not applied to new cards
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
</div>
|
||||
<% end %>
|
||||
<% else %>
|
||||
<%= form_with model: card, url: collection_card_path(card.collection, card), id: "card_form", class: "display-contents", data: { controller: "autoresize auto-save" } do |form| %>
|
||||
<%= form_with model: card, url: collection_card_path(card.collection, card), id: "card_form", class: "display-contents rich-text-content", data: { controller: "autoresize auto-save" } do |form| %>
|
||||
<h1 class="card__title autoresize__wrapper" data-autoresize-target="wrapper" data-autoresize-clone-value="">
|
||||
<%= form.text_area :title, placeholder: "Name it…",
|
||||
class: "input input--textarea full-width borderless txt-align-start autoresize__textarea hide-focus-ring",
|
||||
|
||||
Reference in New Issue
Block a user