fix: monaco editor glitches fixed

This commit is contained in:
2026-06-30 21:24:08 +02:00
parent ba9634c478
commit 5f77641f3f
5 changed files with 16446 additions and 19 deletions

View File

@@ -18,7 +18,7 @@ defmodule BDS.Desktop.ShellLive.TabActions do
%{assigns: %{current_tab: %{type: :post, id: post_id}, workbench: workbench}} = socket
) do
if Workbench.dirty?(workbench, :post, post_id) do
Phoenix.LiveView.send_update(PostEditor, id: "post-editor-#{post_id}", action: :save)
Phoenix.LiveView.send_update(PostEditor, id: "post-editor-#{post_id}", action: :auto_save)
end
socket