fix: bound text doesn't inherit container (#4521)

This commit is contained in:
David Luzar 2021-12-31 14:55:02 +01:00 committed by GitHub
parent b0cccbb9e8
commit 28546fbb55
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2168,6 +2168,7 @@ class App extends React.Component<AppProps, AppState> {
? "middle"
: DEFAULT_VERTICAL_ALIGN,
containerId: container?.id ?? undefined,
groupIds: container?.groupIds ?? [],
});
this.setState({ editingElement: element });