diff --git a/frontend/src/app/main/data/workspace/libraries.cljs b/frontend/src/app/main/data/workspace/libraries.cljs index 4c413fd9a3..c43c70482b 100644 --- a/frontend/src/app/main/data/workspace/libraries.cljs +++ b/frontend/src/app/main/data/workspace/libraries.cljs @@ -656,6 +656,7 @@ (merge (meta it)))) (dwu/start-undo-transaction undo-id) (dch/commit-changes changes) + (dwtp/propagate-workspace-tokens) ;; Make the new instance get the token values from the current file, not from the component's library (ptk/data-event :layout/update {:ids [(:id new-shape)]}) (dws/select-shapes (d/ordered-set (:id new-shape))) (when start-move? @@ -1098,6 +1099,7 @@ (rx/of (dwu/start-undo-transaction undo-id) (dch/commit-changes changes) + (dwtp/propagate-workspace-tokens) ;; Make the new instance get the token values from the current file, not from the component's library (when (and (features/active-feature? state "render-wasm/v1") (seq new-text-ids)) (dwwt/resize-wasm-text-all new-text-ids))