diff --git a/src/components/App.tsx b/src/components/App.tsx index 64c9a27c..6b470134 100644 --- a/src/components/App.tsx +++ b/src/components/App.tsx @@ -123,6 +123,7 @@ import { hasBoundTextElement, isBindingElement, isBindingElementType, + isBoundToContainer, isImageElement, isInitializedImageElement, isLinearElement, @@ -1419,7 +1420,7 @@ class App extends React.Component { ...this.state, isLibraryOpen: false, selectedElementIds: newElements.reduce((map, element) => { - if (isTextElement(element) && !element.containerId) { + if (!isBoundToContainer(element)) { map[element.id] = true; } return map;