mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-04 00:28:33 +00:00
feat(editor): add page dragging area widget extension (#12045)
Closes: BS-3364 <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Introduced a new "Page Dragging Area" widget, enabling enhanced block selection and drag area detection within the user interface. - Added utilities for more precise block selection based on rectangular selection areas. - **Improvements** - Integrated the new widget into the view extension system for consistent behavior across supported views. - Enhanced clipboard handling with comprehensive adapter configurations for various data types. - **Refactor** - Streamlined widget registration and block selection logic for improved maintainability and modularity. - Removed legacy widget exports and registrations to centralize widget management. - **Chores** - Updated workspace and TypeScript configurations to support the new widget module. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
This commit is contained in:
@@ -103,6 +103,7 @@
|
||||
{ "path": "./blocksuite/affine/widgets/frame-title" },
|
||||
{ "path": "./blocksuite/affine/widgets/keyboard-toolbar" },
|
||||
{ "path": "./blocksuite/affine/widgets/linked-doc" },
|
||||
{ "path": "./blocksuite/affine/widgets/page-dragging-area" },
|
||||
{ "path": "./blocksuite/affine/widgets/remote-selection" },
|
||||
{ "path": "./blocksuite/affine/widgets/scroll-anchoring" },
|
||||
{ "path": "./blocksuite/affine/widgets/slash-menu" },
|
||||
|
||||
Reference in New Issue
Block a user