deselect all elements when inserting text with double click (#996)
This commit is contained in:
parent
7d57d124bd
commit
6fe40516bf
@ -1028,6 +1028,9 @@ export class App extends React.Component<any, AppState> {
|
|||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
|
// deselect all other elements when inserting text
|
||||||
|
this.setState({ selectedElementIds: {} });
|
||||||
|
|
||||||
textWysiwyg({
|
textWysiwyg({
|
||||||
initText: element.text,
|
initText: element.text,
|
||||||
x: textX,
|
x: textX,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user