@atlaskit/editor-core 178.1.2 → 179.0.1
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 +12 -0
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/utils/commands.js +2 -2
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/es2019/version.json +1 -1
- package/dist/esm/version-wrapper.js +1 -1
- package/dist/esm/version.json +1 -1
- package/package.json +12 -10
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @atlaskit/editor-core
|
|
2
2
|
|
|
3
|
+
## 179.0.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`38549274b29`](https://bitbucket.org/atlassian/atlassian-frontend/commits/38549274b29) - Replace &&= operator in editor-core since not all platforms support it.
|
|
8
|
+
|
|
9
|
+
## 179.0.0
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- Updated dependencies
|
|
14
|
+
|
|
3
15
|
## 178.1.2
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.version = exports.nextMajorVersion = exports.name = void 0;
|
|
7
7
|
var name = "@atlaskit/editor-core";
|
|
8
8
|
exports.name = name;
|
|
9
|
-
var version = "
|
|
9
|
+
var version = "179.0.1";
|
|
10
10
|
exports.version = version;
|
|
11
11
|
var nextMajorVersion = function nextMajorVersion() {
|
|
12
12
|
return [Number(version.split('.')[0]) + 1, 0, 0].join('.');
|
package/dist/cjs/version.json
CHANGED
|
@@ -114,7 +114,7 @@ const entireSelectionContainsMark = (mark, doc, fromPos, toPos) => {
|
|
|
114
114
|
return false;
|
|
115
115
|
}
|
|
116
116
|
if (node.isText) {
|
|
117
|
-
onlyContainsMark
|
|
117
|
+
onlyContainsMark && (onlyContainsMark = mark.isInSet(node.marks));
|
|
118
118
|
}
|
|
119
119
|
});
|
|
120
120
|
return onlyContainsMark;
|
|
@@ -131,7 +131,7 @@ const toggleMarkInRange = mark => (state, dispatch) => {
|
|
|
131
131
|
});
|
|
132
132
|
const from = cellPos;
|
|
133
133
|
const to = cellPos + cell.nodeSize;
|
|
134
|
-
removeMark
|
|
134
|
+
removeMark && (removeMark = entireSelectionContainsMark(mark, state.doc, from, to));
|
|
135
135
|
});
|
|
136
136
|
for (let i = cells.length - 1; i >= 0; i--) {
|
|
137
137
|
const cell = cells[i];
|
package/dist/es2019/version.json
CHANGED
package/dist/esm/version.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-core",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "179.0.1",
|
|
4
4
|
"description": "A package contains Atlassian editor core functionality",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"@atlaskit/icon-object": "^6.2.0",
|
|
54
54
|
"@atlaskit/link-picker": "^1.16.0",
|
|
55
55
|
"@atlaskit/locale": "^2.3.0",
|
|
56
|
-
"@atlaskit/logo": "^13.
|
|
56
|
+
"@atlaskit/logo": "^13.11.0",
|
|
57
57
|
"@atlaskit/media-card": "^74.5.0",
|
|
58
58
|
"@atlaskit/media-client": "^20.0.0",
|
|
59
59
|
"@atlaskit/media-common": "^2.19.0",
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
"@atlaskit/radio": "^5.4.0",
|
|
70
70
|
"@atlaskit/section-message": "^6.3.0",
|
|
71
71
|
"@atlaskit/select": "^16.1.0",
|
|
72
|
-
"@atlaskit/smart-card": "^
|
|
72
|
+
"@atlaskit/smart-card": "^24.1.0",
|
|
73
73
|
"@atlaskit/smart-user-picker": "^6.0.0",
|
|
74
74
|
"@atlaskit/spinner": "^15.3.0",
|
|
75
75
|
"@atlaskit/status": "^1.2.0",
|
|
@@ -79,7 +79,7 @@
|
|
|
79
79
|
"@atlaskit/textfield": "^5.3.0",
|
|
80
80
|
"@atlaskit/theme": "^12.2.0",
|
|
81
81
|
"@atlaskit/toggle": "^12.5.0",
|
|
82
|
-
"@atlaskit/tokens": "^1.
|
|
82
|
+
"@atlaskit/tokens": "^1.1.0",
|
|
83
83
|
"@atlaskit/tooltip": "^17.6.0",
|
|
84
84
|
"@atlaskit/util-service-support": "^6.1.0",
|
|
85
85
|
"@atlaskit/width-detector": "^4.0.0",
|
|
@@ -124,7 +124,7 @@
|
|
|
124
124
|
"w3c-keyname": "^2.1.0"
|
|
125
125
|
},
|
|
126
126
|
"peerDependencies": {
|
|
127
|
-
"@atlaskit/link-provider": "^1.
|
|
127
|
+
"@atlaskit/link-provider": "^1.4.0",
|
|
128
128
|
"@atlaskit/media-core": "^34.0.1",
|
|
129
129
|
"react": "^16.8.0",
|
|
130
130
|
"react-dom": "^16.8.0",
|
|
@@ -145,8 +145,8 @@
|
|
|
145
145
|
"@atlaskit/editor-test-helpers": "^18.0.0",
|
|
146
146
|
"@atlaskit/flag": "^15.0.0",
|
|
147
147
|
"@atlaskit/inline-dialog": "^13.4.0",
|
|
148
|
-
"@atlaskit/link-provider": "^1.
|
|
149
|
-
"@atlaskit/link-test-helpers": "^2.
|
|
148
|
+
"@atlaskit/link-provider": "^1.4.0",
|
|
149
|
+
"@atlaskit/link-test-helpers": "^2.1.0",
|
|
150
150
|
"@atlaskit/lozenge": "^11.3.0",
|
|
151
151
|
"@atlaskit/media-core": "^34.0.0",
|
|
152
152
|
"@atlaskit/media-integration-test-helpers": "^2.6.0",
|
|
@@ -155,7 +155,7 @@
|
|
|
155
155
|
"@atlaskit/page-layout": "^1.3.0",
|
|
156
156
|
"@atlaskit/profilecard": "^18.2.0",
|
|
157
157
|
"@atlaskit/pubsub": "^6.2.0",
|
|
158
|
-
"@atlaskit/renderer": "^
|
|
158
|
+
"@atlaskit/renderer": "^106.0.0",
|
|
159
159
|
"@atlaskit/section-message": "^6.3.0",
|
|
160
160
|
"@atlaskit/share": "*",
|
|
161
161
|
"@atlaskit/smart-user-picker": "^6.0.0",
|
|
@@ -168,7 +168,7 @@
|
|
|
168
168
|
"@atlaskit/webdriver-runner": "*",
|
|
169
169
|
"@atlassian/atlassian-frontend-prettier-config-1.0.1": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.1",
|
|
170
170
|
"@atlassian/link-picker-atlassian-plugin": "^26.1.0",
|
|
171
|
-
"@atlassian/link-picker-plugins": "^
|
|
171
|
+
"@atlassian/link-picker-plugins": "^15.0.0",
|
|
172
172
|
"@atlassian/search-provider": "2.3.9",
|
|
173
173
|
"@atlassian/ufo": "^0.1.0",
|
|
174
174
|
"@emotion/jest": "^11.8.0",
|
|
@@ -214,7 +214,9 @@
|
|
|
214
214
|
},
|
|
215
215
|
"@repo/internal": {
|
|
216
216
|
"deprecation": "no-deprecated-imports",
|
|
217
|
-
"
|
|
217
|
+
"design-tokens": [
|
|
218
|
+
"color"
|
|
219
|
+
],
|
|
218
220
|
"styling": [
|
|
219
221
|
"emotion"
|
|
220
222
|
]
|