@atlaskit/editor-plugin-list 4.2.6 → 4.2.8
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,20 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-list
|
|
2
2
|
|
|
3
|
+
## 4.2.8
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 4.2.7
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [#164877](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/164877)
|
|
14
|
+
[`a79ceac2fb271`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/a79ceac2fb271) -
|
|
15
|
+
clean up clean-up-platform_editor_nbm_backspace_fixes
|
|
16
|
+
- Updated dependencies
|
|
17
|
+
|
|
3
18
|
## 4.2.6
|
|
4
19
|
|
|
5
20
|
### Patch Changes
|
|
@@ -286,9 +286,7 @@ var deletePreviousEmptyListItem = function deletePreviousEmptyListItem(state, di
|
|
|
286
286
|
if (!$cut || !$cut.nodeBefore || !($cut.nodeBefore.type === listItem)) {
|
|
287
287
|
return false;
|
|
288
288
|
}
|
|
289
|
-
var nodeBeforeIsExtension =
|
|
290
|
-
// eslint-disable-next-line @atlaskit/platform/no-preconditioning
|
|
291
|
-
(0, _platformFeatureFlags.fg)('platform_editor_nbm_backspace_fixes') && $cut.nodeBefore.firstChild && $cut.nodeBefore.firstChild.type.name === 'extension';
|
|
289
|
+
var nodeBeforeIsExtension = $cut.nodeBefore.firstChild && $cut.nodeBefore.firstChild.type.name === 'extension';
|
|
292
290
|
var previousListItemEmpty =
|
|
293
291
|
// Ignored via go/ees005
|
|
294
292
|
$cut.nodeBefore.childCount === 1 && $cut.nodeBefore.firstChild && $cut.nodeBefore.firstChild.nodeSize <= 2 && !nodeBeforeIsExtension;
|
|
@@ -274,9 +274,7 @@ const deletePreviousEmptyListItem = (state, dispatch) => {
|
|
|
274
274
|
if (!$cut || !$cut.nodeBefore || !($cut.nodeBefore.type === listItem)) {
|
|
275
275
|
return false;
|
|
276
276
|
}
|
|
277
|
-
const nodeBeforeIsExtension =
|
|
278
|
-
// eslint-disable-next-line @atlaskit/platform/no-preconditioning
|
|
279
|
-
fg('platform_editor_nbm_backspace_fixes') && $cut.nodeBefore.firstChild && $cut.nodeBefore.firstChild.type.name === 'extension';
|
|
277
|
+
const nodeBeforeIsExtension = $cut.nodeBefore.firstChild && $cut.nodeBefore.firstChild.type.name === 'extension';
|
|
280
278
|
const previousListItemEmpty =
|
|
281
279
|
// Ignored via go/ees005
|
|
282
280
|
$cut.nodeBefore.childCount === 1 && $cut.nodeBefore.firstChild && $cut.nodeBefore.firstChild.nodeSize <= 2 && !nodeBeforeIsExtension;
|
|
@@ -279,9 +279,7 @@ var deletePreviousEmptyListItem = function deletePreviousEmptyListItem(state, di
|
|
|
279
279
|
if (!$cut || !$cut.nodeBefore || !($cut.nodeBefore.type === listItem)) {
|
|
280
280
|
return false;
|
|
281
281
|
}
|
|
282
|
-
var nodeBeforeIsExtension =
|
|
283
|
-
// eslint-disable-next-line @atlaskit/platform/no-preconditioning
|
|
284
|
-
fg('platform_editor_nbm_backspace_fixes') && $cut.nodeBefore.firstChild && $cut.nodeBefore.firstChild.type.name === 'extension';
|
|
282
|
+
var nodeBeforeIsExtension = $cut.nodeBefore.firstChild && $cut.nodeBefore.firstChild.type.name === 'extension';
|
|
285
283
|
var previousListItemEmpty =
|
|
286
284
|
// Ignored via go/ees005
|
|
287
285
|
$cut.nodeBefore.childCount === 1 && $cut.nodeBefore.firstChild && $cut.nodeBefore.firstChild.nodeSize <= 2 && !nodeBeforeIsExtension;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-list",
|
|
3
|
-
"version": "4.2.
|
|
3
|
+
"version": "4.2.8",
|
|
4
4
|
"description": "List plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -32,13 +32,13 @@
|
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"@atlaskit/adf-schema": "^47.6.0",
|
|
35
|
-
"@atlaskit/editor-common": "^106.
|
|
35
|
+
"@atlaskit/editor-common": "^106.5.0",
|
|
36
36
|
"@atlaskit/editor-plugin-analytics": "^2.3.0",
|
|
37
37
|
"@atlaskit/editor-plugin-feature-flags": "^1.4.0",
|
|
38
38
|
"@atlaskit/editor-prosemirror": "7.0.0",
|
|
39
39
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
40
40
|
"@atlaskit/prosemirror-input-rules": "^3.3.0",
|
|
41
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
41
|
+
"@atlaskit/tmp-editor-statsig": "^6.0.0",
|
|
42
42
|
"@babel/runtime": "^7.0.0"
|
|
43
43
|
},
|
|
44
44
|
"peerDependencies": {
|
|
@@ -84,9 +84,6 @@
|
|
|
84
84
|
}
|
|
85
85
|
},
|
|
86
86
|
"platform-feature-flags": {
|
|
87
|
-
"platform_editor_nbm_backspace_fixes": {
|
|
88
|
-
"type": "boolean"
|
|
89
|
-
},
|
|
90
87
|
"platform_editor_non_macros_list_indent_fix": {
|
|
91
88
|
"type": "boolean"
|
|
92
89
|
},
|