You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
constworkbook=univerAPI.getActiveWorkbook();constsheet=workbook?.getActiveSheet();constselections=sheet?.getSelection()?._selections;constranges=selections.map(({ range })=>range);
The above code works, but it uses private properties.
The text was updated successfully, but these errors were encountered:
Initial checklist
Problem
Currently I can only get the last selected range through the api.
But I need to get all the selected ranges.
The above code works, but it uses private properties.
The text was updated successfully, but these errors were encountered: