@atlaskit/editor-plugin-selection 8.0.27 → 8.0.28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +7 -0
- package/README.md +14 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -1,10 +1,23 @@
|
|
|
1
|
-
# Editor
|
|
1
|
+
# Editor Plugin Selection
|
|
2
2
|
|
|
3
3
|
Selection plugin for @atlaskit/editor-core
|
|
4
4
|
|
|
5
5
|
**Note:** This component is designed for internal Atlassian development.
|
|
6
6
|
External contributors will be able to use this component but will not be able to submit issues.
|
|
7
7
|
|
|
8
|
+
## Overview
|
|
9
|
+
|
|
10
|
+
The Selection plugin provides comprehensive selection and cursor management capabilities for the Atlassian Editor. It integrates with ProseMirror to handle text selection, cursor positioning, gap cursors for structural navigation, and mark boundary indicators for better visual feedback during editing.
|
|
11
|
+
|
|
12
|
+
## Key features
|
|
13
|
+
|
|
14
|
+
- **Text selection management** - Handle and manipulate text selections within the editor
|
|
15
|
+
- **Gap cursor support** - Navigate between non-text blocks with visual indicators
|
|
16
|
+
- **Mark boundary cursors** - Display cursor position indicators at mark boundaries (e.g., code, bold, italic)
|
|
17
|
+
- **Auto-expand selection** - Automatically expand selection ranges when interacting with inline nodes
|
|
18
|
+
- **Selection utilities** - Retrieve selection fragments and local IDs from the editor state
|
|
19
|
+
- **Relative selection positioning** - Position selections relative to document nodes
|
|
20
|
+
|
|
8
21
|
## Install
|
|
9
22
|
---
|
|
10
23
|
- **Install** - *yarn add @atlaskit/editor-plugin-selection*
|