mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
fix: use active Excalidraw component when editing text (#3478)
* fix: use active excalidraw component when editing text * changelog * tweak
This commit is contained in:
parent
354976e08e
commit
891ac82447
3 changed files with 7 additions and 3 deletions
|
@ -1803,6 +1803,7 @@ class App extends React.Component<AppProps, AppState> {
|
|||
this.focusContainer();
|
||||
}),
|
||||
element,
|
||||
excalidrawContainer: this.excalidrawContainerRef.current,
|
||||
});
|
||||
// deselect all other elements when inserting text
|
||||
this.setState({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue