Răsfoiți Sursa

fix(regression): file graph pasting blocks with

multiple levels of children. Similar to d08acfc3badc37a56f3340698657d504acdc0f80
Gabriel Horner 2 luni în urmă
părinte
comite
9c77a2f2ad
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      src/main/frontend/handler/editor.cljs

+ 1 - 1
src/main/frontend/handler/editor.cljs

@@ -2089,7 +2089,7 @@
                                               (when-not keep-uuid? [:id])
                                               [:custom_id :custom-id]
                                               exclude-properties))
-                    :block/properties-text-values (apply dissoc (:block/properties-text-values block)
+                    :block/properties-text-values (apply dissoc (not-empty (:block/properties-text-values block))
                                                          (concat
                                                           (when-not keep-uuid? [:id])
                                                           exclude-properties))