deselect all elements when inserting text with double click (#996)

This commit is contained in:
Chang Yan
2020-03-17 23:11:27 -07:00
committed by GitHub
parent 7d57d124bd
commit 6fe40516bf

View File

@ -1028,6 +1028,9 @@ export class App extends React.Component<any, AppState> {
});
};
// deselect all other elements when inserting text
this.setState({ selectedElementIds: {} });
textWysiwyg({
initText: element.text,
x: textX,