@atlaskit/editor-core 189.4.12 → 189.4.15
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 +6 -0
- package/dist/cjs/plugins/paste/pm-plugins/main.js +1 -2
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/es2019/plugins/paste/pm-plugins/main.js +1 -2
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/esm/plugins/paste/pm-plugins/main.js +1 -2
- package/dist/esm/version-wrapper.js +1 -1
- package/package.json +6 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @atlaskit/editor-core
|
|
2
2
|
|
|
3
|
+
## 189.4.15
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#57847](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/57847) [`79e0bdd666fe`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/79e0bdd666fe) - ensure paste file event in prosemirror won't propagate to the clipboard of media picker
|
|
8
|
+
|
|
3
9
|
## 189.4.12
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
|
@@ -169,11 +169,10 @@ function createPlugin(schema, dispatchAnalyticsEvent, dispatch, featureFlags, pl
|
|
|
169
169
|
* We want to return false for external copied image to allow
|
|
170
170
|
* it to be uploaded by the client.
|
|
171
171
|
*/
|
|
172
|
-
|
|
173
172
|
if ((0, _util.htmlContainsSingleFile)(html)) {
|
|
174
173
|
return true;
|
|
175
174
|
}
|
|
176
|
-
event.
|
|
175
|
+
event.stopImmediatePropagation();
|
|
177
176
|
}
|
|
178
177
|
var state = view.state;
|
|
179
178
|
var analyticsPlugin = pluginInjectionApi === null || pluginInjectionApi === void 0 || (_pluginInjectionApi$a2 = pluginInjectionApi.analytics) === null || _pluginInjectionApi$a2 === void 0 || (_pluginInjectionApi$a2 = _pluginInjectionApi$a2.sharedState) === null || _pluginInjectionApi$a2 === void 0 ? void 0 : _pluginInjectionApi$a2.currentState();
|
|
@@ -131,11 +131,10 @@ export function createPlugin(schema, dispatchAnalyticsEvent, dispatch, featureFl
|
|
|
131
131
|
* We want to return false for external copied image to allow
|
|
132
132
|
* it to be uploaded by the client.
|
|
133
133
|
*/
|
|
134
|
-
|
|
135
134
|
if (htmlContainsSingleFile(html)) {
|
|
136
135
|
return true;
|
|
137
136
|
}
|
|
138
|
-
event.
|
|
137
|
+
event.stopImmediatePropagation();
|
|
139
138
|
}
|
|
140
139
|
const {
|
|
141
140
|
state
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export const name = "@atlaskit/editor-core";
|
|
2
|
-
export const version = "189.4.
|
|
2
|
+
export const version = "189.4.15";
|
|
@@ -156,11 +156,10 @@ export function createPlugin(schema, dispatchAnalyticsEvent, dispatch, featureFl
|
|
|
156
156
|
* We want to return false for external copied image to allow
|
|
157
157
|
* it to be uploaded by the client.
|
|
158
158
|
*/
|
|
159
|
-
|
|
160
159
|
if (htmlContainsSingleFile(html)) {
|
|
161
160
|
return true;
|
|
162
161
|
}
|
|
163
|
-
event.
|
|
162
|
+
event.stopImmediatePropagation();
|
|
164
163
|
}
|
|
165
164
|
var state = view.state;
|
|
166
165
|
var analyticsPlugin = pluginInjectionApi === null || pluginInjectionApi === void 0 || (_pluginInjectionApi$a2 = pluginInjectionApi.analytics) === null || _pluginInjectionApi$a2 === void 0 || (_pluginInjectionApi$a2 = _pluginInjectionApi$a2.sharedState) === null || _pluginInjectionApi$a2 === void 0 ? void 0 : _pluginInjectionApi$a2.currentState();
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export var name = "@atlaskit/editor-core";
|
|
2
|
-
export var version = "189.4.
|
|
2
|
+
export var version = "189.4.15";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-core",
|
|
3
|
-
"version": "189.4.
|
|
3
|
+
"version": "189.4.15",
|
|
4
4
|
"description": "A package contains Atlassian editor core functionality",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -183,7 +183,7 @@
|
|
|
183
183
|
"@atlaskit/media-integration-test-helpers": "^3.0.0",
|
|
184
184
|
"@atlaskit/media-test-helpers": "^33.0.0",
|
|
185
185
|
"@atlaskit/menu": "^2.1.0",
|
|
186
|
-
"@atlaskit/modal-dialog": "^12.
|
|
186
|
+
"@atlaskit/modal-dialog": "^12.10.0",
|
|
187
187
|
"@atlaskit/renderer": "^108.17.0",
|
|
188
188
|
"@atlaskit/synchrony-test-helpers": "^2.3.0",
|
|
189
189
|
"@atlaskit/util-data-test": "^17.8.0",
|
|
@@ -341,6 +341,10 @@
|
|
|
341
341
|
"platform.editor.table.alternative-sticky-header-logic": {
|
|
342
342
|
"type": "boolean",
|
|
343
343
|
"referenceOnly": "true"
|
|
344
|
+
},
|
|
345
|
+
"platform.editor.table.analytics-plugin-moved-event": {
|
|
346
|
+
"type": "boolean",
|
|
347
|
+
"referenceOnly": "true"
|
|
344
348
|
}
|
|
345
349
|
}
|
|
346
350
|
}
|