@atlaskit/editor-plugin-panel 0.1.11 → 0.1.12
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
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-panel
|
|
2
2
|
|
|
3
|
+
## 0.1.12
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#61697](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/61697) [`1a46191a332f`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/1a46191a332f) - ED-20963 Fixed issue with panel keymap - unable to delete ordered list within a quote
|
|
8
|
+
|
|
3
9
|
## 0.1.11
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
|
@@ -52,7 +52,7 @@ function keymapPlugin() {
|
|
|
52
52
|
var isPreviousNodeAPanel = previousNodeType === panel;
|
|
53
53
|
var isParentNodeAPanel = parentNodeType === panel;
|
|
54
54
|
var nodeBeforePanel = $previousPos === null || $previousPos === void 0 ? void 0 : $previousPos.nodeBefore;
|
|
55
|
-
var isPreviousNodeAList = previousNodeType ===
|
|
55
|
+
var isPreviousNodeAList = previousNodeType === bulletList || previousNodeType === orderedList;
|
|
56
56
|
|
|
57
57
|
// Stops merging panels when deleting empty paragraph in between
|
|
58
58
|
// Stops merging blockquotes with panels when deleting from start of blockquote
|
|
@@ -53,7 +53,7 @@ export function keymapPlugin() {
|
|
|
53
53
|
const isPreviousNodeAPanel = previousNodeType === panel;
|
|
54
54
|
const isParentNodeAPanel = parentNodeType === panel;
|
|
55
55
|
const nodeBeforePanel = $previousPos === null || $previousPos === void 0 ? void 0 : $previousPos.nodeBefore;
|
|
56
|
-
const isPreviousNodeAList = previousNodeType ===
|
|
56
|
+
const isPreviousNodeAList = previousNodeType === bulletList || previousNodeType === orderedList;
|
|
57
57
|
|
|
58
58
|
// Stops merging panels when deleting empty paragraph in between
|
|
59
59
|
// Stops merging blockquotes with panels when deleting from start of blockquote
|
|
@@ -45,7 +45,7 @@ export function keymapPlugin() {
|
|
|
45
45
|
var isPreviousNodeAPanel = previousNodeType === panel;
|
|
46
46
|
var isParentNodeAPanel = parentNodeType === panel;
|
|
47
47
|
var nodeBeforePanel = $previousPos === null || $previousPos === void 0 ? void 0 : $previousPos.nodeBefore;
|
|
48
|
-
var isPreviousNodeAList = previousNodeType ===
|
|
48
|
+
var isPreviousNodeAList = previousNodeType === bulletList || previousNodeType === orderedList;
|
|
49
49
|
|
|
50
50
|
// Stops merging panels when deleting empty paragraph in between
|
|
51
51
|
// Stops merging blockquotes with panels when deleting from start of blockquote
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-panel",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.12",
|
|
4
4
|
"description": "Panel plugin for @atlaskit/editor-core.",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"devDependencies": {
|
|
52
52
|
"@af/integration-testing": "*",
|
|
53
53
|
"@af/visual-regression": "*",
|
|
54
|
-
"@atlaskit/editor-plugin-emoji": "^0.
|
|
54
|
+
"@atlaskit/editor-plugin-emoji": "^1.0.0",
|
|
55
55
|
"@atlaskit/editor-plugin-feature-flags": "^1.0.0",
|
|
56
56
|
"@atlaskit/ssr": "*",
|
|
57
57
|
"@atlaskit/util-data-test": "^17.8.0",
|