@atlaskit/editor-plugin-list 10.0.11 → 10.0.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
|
@@ -93,6 +93,7 @@ function doWrapInList(tr, range, wrappers, joinBefore, listType) {
|
|
|
93
93
|
var parent = range.parent;
|
|
94
94
|
for (var _i2 = range.startIndex, e = range.endIndex, first = true; _i2 < e; _i2++, first = false) {
|
|
95
95
|
if (!first && (0, _transform.canSplit)(tr.doc, splitPos, splitDepth)) {
|
|
96
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-expensive-split-replace -- Ignored via go/ees017 (to be fixed)
|
|
96
97
|
tr.split(splitPos, splitDepth);
|
|
97
98
|
splitPos += 2 * splitDepth;
|
|
98
99
|
}
|
|
@@ -86,6 +86,7 @@ function doWrapInList(tr, range, wrappers, joinBefore, listType) {
|
|
|
86
86
|
const parent = range.parent;
|
|
87
87
|
for (let i = range.startIndex, e = range.endIndex, first = true; i < e; i++, first = false) {
|
|
88
88
|
if (!first && canSplit(tr.doc, splitPos, splitDepth)) {
|
|
89
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-expensive-split-replace -- Ignored via go/ees017 (to be fixed)
|
|
89
90
|
tr.split(splitPos, splitDepth);
|
|
90
91
|
splitPos += 2 * splitDepth;
|
|
91
92
|
}
|
|
@@ -87,6 +87,7 @@ function doWrapInList(tr, range, wrappers, joinBefore, listType) {
|
|
|
87
87
|
var parent = range.parent;
|
|
88
88
|
for (var _i2 = range.startIndex, e = range.endIndex, first = true; _i2 < e; _i2++, first = false) {
|
|
89
89
|
if (!first && canSplit(tr.doc, splitPos, splitDepth)) {
|
|
90
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-expensive-split-replace -- Ignored via go/ees017 (to be fixed)
|
|
90
91
|
tr.split(splitPos, splitDepth);
|
|
91
92
|
splitPos += 2 * splitDepth;
|
|
92
93
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-list",
|
|
3
|
-
"version": "10.0.
|
|
3
|
+
"version": "10.0.12",
|
|
4
4
|
"description": "List plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
39
39
|
"@atlaskit/prosemirror-history": "^0.2.0",
|
|
40
40
|
"@atlaskit/prosemirror-input-rules": "^3.6.0",
|
|
41
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
41
|
+
"@atlaskit/tmp-editor-statsig": "^44.0.0",
|
|
42
42
|
"@babel/runtime": "^7.0.0"
|
|
43
43
|
},
|
|
44
44
|
"peerDependencies": {
|