@atlaskit/editor-plugin-tasks-and-decisions 6.4.2 → 6.4.3
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,13 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-tasks-and-decisions
|
|
2
2
|
|
|
3
|
+
## 6.4.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`d2a535bed291e`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/d2a535bed291e) -
|
|
8
|
+
[EDITOR-1153] Make sure that Tab works for range selections for `blockTaskItem`
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
|
|
3
11
|
## 6.4.2
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
|
@@ -9,7 +9,7 @@ var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/cl
|
|
|
9
9
|
var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass"));
|
|
10
10
|
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
11
11
|
var _model = require("@atlaskit/editor-prosemirror/model");
|
|
12
|
-
var
|
|
12
|
+
var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
|
|
13
13
|
var _decisionItemNodeSpec = require("./decisionItemNodeSpec");
|
|
14
14
|
/**
|
|
15
15
|
* NodeView for the DecisionItem node.
|
|
@@ -83,7 +83,7 @@ var DecisionItemNodeView = exports.DecisionItemNodeView = /*#__PURE__*/function
|
|
|
83
83
|
// This was discovered while implementing the platform_editor_debounce_portal_provider experiment
|
|
84
84
|
// And there will only be an issue if the experiment is enabled.
|
|
85
85
|
// As such, this fix is behind this experiment.
|
|
86
|
-
if (!(0,
|
|
86
|
+
if (!(0, _expValEquals.expValEquals)('platform_editor_debounce_portal_provider', 'isEnabled', true, false)) {
|
|
87
87
|
return false; // Let ProseMirror handle all mutations when experiment is disabled
|
|
88
88
|
}
|
|
89
89
|
if (!this.contentDOM) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
2
2
|
import { DOMSerializer } from '@atlaskit/editor-prosemirror/model';
|
|
3
|
-
import {
|
|
3
|
+
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
4
4
|
import { decisionItemToDOM } from './decisionItemNodeSpec';
|
|
5
5
|
|
|
6
6
|
/**
|
|
@@ -69,7 +69,7 @@ export class DecisionItemNodeView {
|
|
|
69
69
|
// This was discovered while implementing the platform_editor_debounce_portal_provider experiment
|
|
70
70
|
// And there will only be an issue if the experiment is enabled.
|
|
71
71
|
// As such, this fix is behind this experiment.
|
|
72
|
-
if (!
|
|
72
|
+
if (!expValEquals('platform_editor_debounce_portal_provider', 'isEnabled', true, false)) {
|
|
73
73
|
return false; // Let ProseMirror handle all mutations when experiment is disabled
|
|
74
74
|
}
|
|
75
75
|
if (!this.contentDOM) {
|
|
@@ -2,7 +2,7 @@ import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
|
|
|
2
2
|
import _createClass from "@babel/runtime/helpers/createClass";
|
|
3
3
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
4
4
|
import { DOMSerializer } from '@atlaskit/editor-prosemirror/model';
|
|
5
|
-
import {
|
|
5
|
+
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
6
6
|
import { decisionItemToDOM } from './decisionItemNodeSpec';
|
|
7
7
|
|
|
8
8
|
/**
|
|
@@ -77,7 +77,7 @@ export var DecisionItemNodeView = /*#__PURE__*/function () {
|
|
|
77
77
|
// This was discovered while implementing the platform_editor_debounce_portal_provider experiment
|
|
78
78
|
// And there will only be an issue if the experiment is enabled.
|
|
79
79
|
// As such, this fix is behind this experiment.
|
|
80
|
-
if (!
|
|
80
|
+
if (!expValEquals('platform_editor_debounce_portal_provider', 'isEnabled', true, false)) {
|
|
81
81
|
return false; // Let ProseMirror handle all mutations when experiment is disabled
|
|
82
82
|
}
|
|
83
83
|
if (!this.contentDOM) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-tasks-and-decisions",
|
|
3
|
-
"version": "6.4.
|
|
3
|
+
"version": "6.4.3",
|
|
4
4
|
"description": "Tasks and decisions plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -49,14 +49,14 @@
|
|
|
49
49
|
"@atlaskit/primitives": "^14.11.0",
|
|
50
50
|
"@atlaskit/prosemirror-input-rules": "^3.4.0",
|
|
51
51
|
"@atlaskit/task-decision": "^19.2.0",
|
|
52
|
-
"@atlaskit/tmp-editor-statsig": "^11.
|
|
52
|
+
"@atlaskit/tmp-editor-statsig": "^11.4.0",
|
|
53
53
|
"@atlaskit/tokens": "^6.0.0",
|
|
54
54
|
"@babel/runtime": "^7.0.0",
|
|
55
55
|
"@compiled/react": "^0.18.3",
|
|
56
56
|
"bind-event-listener": "^3.0.0"
|
|
57
57
|
},
|
|
58
58
|
"peerDependencies": {
|
|
59
|
-
"@atlaskit/editor-common": "^107.
|
|
59
|
+
"@atlaskit/editor-common": "^107.28.0",
|
|
60
60
|
"react": "^18.2.0",
|
|
61
61
|
"react-dom": "^18.2.0",
|
|
62
62
|
"react-intl-next": "npm:react-intl@^5.18.1"
|