@atlaskit/editor-plugin-extension 2.0.2 → 2.0.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,15 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-extension
|
|
2
2
|
|
|
3
|
+
## 2.0.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#175651](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/175651)
|
|
8
|
+
[`26349f1048cb4`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/26349f1048cb4) -
|
|
9
|
+
ED-25982 - Revert selection click handler slightly so non-LCM extension nodes are selectable
|
|
10
|
+
again.
|
|
11
|
+
- Updated dependencies
|
|
12
|
+
|
|
3
13
|
## 2.0.2
|
|
4
14
|
|
|
5
15
|
### Patch Changes
|
|
@@ -344,7 +344,7 @@ var createPlugin = exports.createPlugin = function createPlugin(dispatch, provid
|
|
|
344
344
|
return null;
|
|
345
345
|
},
|
|
346
346
|
handleClickOn: (0, _selection2.createSelectionClickHandler)(['extension', 'bodiedExtension', 'multiBodiedExtension'], function (target) {
|
|
347
|
-
return (0, _platformFeatureFlags.fg)('platform_editor_legacy_content_macro') ? !!target.closest('.extension-container') : !target.closest('.extension-content');
|
|
347
|
+
return (0, _platformFeatureFlags.fg)('platform_editor_legacy_content_macro') ? !target.closest('.extension-content') || !!target.closest('.extension-container') : !target.closest('.extension-content');
|
|
348
348
|
},
|
|
349
349
|
// It's to enable nested extensions selection
|
|
350
350
|
{
|
|
@@ -279,7 +279,7 @@ const createPlugin = (dispatch, providerFactory, extensionHandlers, portalProvid
|
|
|
279
279
|
}
|
|
280
280
|
return null;
|
|
281
281
|
},
|
|
282
|
-
handleClickOn: createSelectionClickHandler(['extension', 'bodiedExtension', 'multiBodiedExtension'], target => fg('platform_editor_legacy_content_macro') ? !!target.closest('.extension-container') : !target.closest('.extension-content'),
|
|
282
|
+
handleClickOn: createSelectionClickHandler(['extension', 'bodiedExtension', 'multiBodiedExtension'], target => fg('platform_editor_legacy_content_macro') ? !target.closest('.extension-content') || !!target.closest('.extension-container') : !target.closest('.extension-content'),
|
|
283
283
|
// It's to enable nested extensions selection
|
|
284
284
|
{
|
|
285
285
|
useLongPressSelection
|
|
@@ -318,7 +318,7 @@ var createPlugin = function createPlugin(dispatch, providerFactory, extensionHan
|
|
|
318
318
|
return null;
|
|
319
319
|
},
|
|
320
320
|
handleClickOn: createSelectionClickHandler(['extension', 'bodiedExtension', 'multiBodiedExtension'], function (target) {
|
|
321
|
-
return fg('platform_editor_legacy_content_macro') ? !!target.closest('.extension-container') : !target.closest('.extension-content');
|
|
321
|
+
return fg('platform_editor_legacy_content_macro') ? !target.closest('.extension-content') || !!target.closest('.extension-container') : !target.closest('.extension-content');
|
|
322
322
|
},
|
|
323
323
|
// It's to enable nested extensions selection
|
|
324
324
|
{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-extension",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.3",
|
|
4
4
|
"description": "editor-plugin-extension plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"@atlaskit/button": "^20.3.0",
|
|
31
31
|
"@atlaskit/checkbox": "^15.2.0",
|
|
32
32
|
"@atlaskit/datetime-picker": "^15.9.0",
|
|
33
|
-
"@atlaskit/editor-common": "^96.
|
|
33
|
+
"@atlaskit/editor-common": "^96.3.0",
|
|
34
34
|
"@atlaskit/editor-json-transformer": "^8.21.0",
|
|
35
35
|
"@atlaskit/editor-plugin-analytics": "^1.10.0",
|
|
36
36
|
"@atlaskit/editor-plugin-context-identifier": "^1.3.0",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"@atlaskit/empty-state": "^8.0.0",
|
|
45
45
|
"@atlaskit/form": "^10.6.0",
|
|
46
46
|
"@atlaskit/heading": "4.0.0",
|
|
47
|
-
"@atlaskit/icon": "^23.
|
|
47
|
+
"@atlaskit/icon": "^23.1.0",
|
|
48
48
|
"@atlaskit/platform-feature-flags": "^0.3.0",
|
|
49
49
|
"@atlaskit/primitives": "^13.3.0",
|
|
50
50
|
"@atlaskit/radio": "^6.6.0",
|