Files
AFFiNE-Mirror/blocksuite/affine/shared/src/commands/selection/index.ts
T
yoyoyohamapi 04efca362e feat(editor): is nothing selected command (#10721)
### TL;DR
Added a new command to check if nothing is currently selected in the editor.

### What changed?
- Created new `isNothingSelectedCommand` to determine if there are no active selections
2025-03-14 02:35:21 +00:00

12 lines
486 B
TypeScript

export { focusBlockEnd } from './focus-block-end';
export { focusBlockStart } from './focus-block-start';
export { getBlockSelectionsCommand } from './get-block-selections';
export { getImageSelectionsCommand } from './get-image-selections';
export {
getRangeRects,
getSelectionRectsCommand,
type SelectionRect,
} from './get-selection-rects';
export { getTextSelectionCommand } from './get-text-selection.js';
export { isNothingSelectedCommand } from './is-nothing-selected.js';