Closed vanch3d closed 1 year ago
I was thinking that autoselect is the best default, because it most of the cases you want to have selected object, right after you added it.
If you don't want that behavior, you can select different objects.
content.forEach((e) => store.activePage.addElement(e));
// deselect all
store.selectElements([]);
When the editor loads with a template or elements added to the active page, the last element in the list is selected by default. While not a problem in itself , it creates a bit of unexpected visual cues (border, handles, tools in top bar)
Notes:
0.29.0
content.forEach((e) => store.activePage.addElement(e));