@atlaskit/editor-plugin-indentation 8.0.1 → 9.0.0
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 +13 -0
- package/README.md +14 -1
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-indentation
|
|
2
2
|
|
|
3
|
+
## 9.0.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 8.0.2
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [`14803a836f641`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/14803a836f641) -
|
|
14
|
+
Update README.md and 0-intro.tsx
|
|
15
|
+
|
|
3
16
|
## 8.0.1
|
|
4
17
|
|
|
5
18
|
### Patch Changes
|
package/README.md
CHANGED
|
@@ -1,10 +1,23 @@
|
|
|
1
|
-
# Editor
|
|
1
|
+
# Editor Plugin Indentation
|
|
2
2
|
|
|
3
3
|
Indentation 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 Indentation plugin provides text indentation capabilities for paragraphs and headings in the Atlassian Editor. It allows users to increase or decrease indentation levels using keyboard shortcuts or toolbar actions, with built-in analytics tracking for indentation changes.
|
|
11
|
+
|
|
12
|
+
## Key features
|
|
13
|
+
|
|
14
|
+
- **Indent and outdent commands** - Increase or decrease indentation levels for paragraphs and headings
|
|
15
|
+
- **Keyboard shortcuts** - Support for Tab/Shift+Tab shortcuts and backspace outdenting at cursor start
|
|
16
|
+
- **Maximum indentation control** - Enforces a maximum indentation level to maintain readability
|
|
17
|
+
- **Analytics integration** - Track indentation actions with detailed analytics events
|
|
18
|
+
- **Mark-based implementation** - Uses ProseMirror marks for efficient indentation state management
|
|
19
|
+
- **Alignment compatibility** - Prevents indentation on nodes with alignment marks to avoid conflicts
|
|
20
|
+
|
|
8
21
|
## Install
|
|
9
22
|
---
|
|
10
23
|
- **Install** - *yarn add @atlaskit/editor-plugin-indentation*
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-indentation",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "9.0.0",
|
|
4
4
|
"description": "Indentation plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -27,13 +27,13 @@
|
|
|
27
27
|
"sideEffects": false,
|
|
28
28
|
"atlaskit:src": "src/index.ts",
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@atlaskit/adf-schema": "^52.
|
|
31
|
-
"@atlaskit/editor-plugin-analytics": "^
|
|
30
|
+
"@atlaskit/adf-schema": "^52.5.0",
|
|
31
|
+
"@atlaskit/editor-plugin-analytics": "^9.0.0",
|
|
32
32
|
"@atlaskit/editor-prosemirror": "^7.3.0",
|
|
33
33
|
"@babel/runtime": "^7.0.0"
|
|
34
34
|
},
|
|
35
35
|
"peerDependencies": {
|
|
36
|
-
"@atlaskit/editor-common": "^
|
|
36
|
+
"@atlaskit/editor-common": "^113.0.0",
|
|
37
37
|
"react": "^18.2.0",
|
|
38
38
|
"react-dom": "^18.2.0"
|
|
39
39
|
},
|