deleteSelection method
void
deleteSelection()
Implementation
void deleteSelection() {
final id = selection.firstId;
if (id == null) return;
controller.applyEdit(EditorEdits.deleteSubtree(id));
selection.clearSelection();
}