From 649888dbd46e9b64c03653d66a134eb9c1006013 Mon Sep 17 00:00:00 2001 From: Jorge Manrubia Date: Fri, 21 Nov 2025 08:52:10 +0100 Subject: [PATCH] Making the frame permanent with an id would reconnect the editor causing the dup This is something we need to fix in Lexxy for good, but for now this patch will do it. https://github.com/basecamp/lexxy/issues/263 --- app/views/cards/container/_title.html.erb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/views/cards/container/_title.html.erb b/app/views/cards/container/_title.html.erb index a765364a8..47a6a0924 100644 --- a/app/views/cards/container/_title.html.erb +++ b/app/views/cards/container/_title.html.erb @@ -1,5 +1,6 @@ <% if card.published? %> - <%= turbo_frame_tag card, :edit, data: { turbo_permanent: true } do %> +
+ <%= turbo_frame_tag card, :edit do %>

<%= link_to card.title, edit_card_path(card), class: "card__title-link" %>

@@ -15,6 +16,7 @@ e <% end %> <% end %> +
<% else %> <%= form_with model: card, id: "card_form", data: { controller: "autoresize auto-save" } do |form| %>