@atlaskit/editor-plugin-extension 27.0.3 → 27.0.5
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,33 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-extension
|
|
2
2
|
|
|
3
|
+
## 27.0.5
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`950fcabdaee51`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/950fcabdaee51) -
|
|
8
|
+
Show comment markers for eligible Remix extension nodes in the editor behind
|
|
9
|
+
`cc_maui_annotations_on_extensions`. Highlight an open draft or selected unresolved thread, open
|
|
10
|
+
existing comments from the marker, and preserve the embedded iframe and unsaved drafts when
|
|
11
|
+
switching threads.
|
|
12
|
+
|
|
13
|
+
Render each badge from its extension node view, using its node and current position instead of
|
|
14
|
+
scanning the document. Both standard and referentiality extension node views render the shared
|
|
15
|
+
badge directly, using annotation state and logic-only actions. Expose the reusable badge container
|
|
16
|
+
as BlockNodeBadges, retaining MediaBadges as a compatibility wrapper for existing media consumers.
|
|
17
|
+
|
|
18
|
+
Preserve the existing Emotion styling for the shared badge container; defer its Compiled migration
|
|
19
|
+
with a file-scoped ratcheting exception.
|
|
20
|
+
|
|
21
|
+
- Updated dependencies
|
|
22
|
+
|
|
23
|
+
## 27.0.4
|
|
24
|
+
|
|
25
|
+
### Patch Changes
|
|
26
|
+
|
|
27
|
+
- [`042fa402a6460`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/042fa402a6460) -
|
|
28
|
+
Clean up experiment `platform_editor_august_a11y`
|
|
29
|
+
- Updated dependencies
|
|
30
|
+
|
|
3
31
|
## 27.0.3
|
|
4
32
|
|
|
5
33
|
### Patch Changes
|
|
@@ -219,7 +219,7 @@ var editButton = function editButton(formatMessage, extensionState, applyChangeT
|
|
|
219
219
|
tabIndex: null,
|
|
220
220
|
focusEditoronEnter: true,
|
|
221
221
|
disabled: isDisabled,
|
|
222
|
-
isRadioButton:
|
|
222
|
+
isRadioButton: false
|
|
223
223
|
}];
|
|
224
224
|
if (toolbarFlagsEnabled) {
|
|
225
225
|
editButtonItems.push({
|
|
@@ -215,7 +215,7 @@ const editButton = (formatMessage, extensionState, applyChangeToContextPanel, ed
|
|
|
215
215
|
tabIndex: null,
|
|
216
216
|
focusEditoronEnter: true,
|
|
217
217
|
disabled: isDisabled,
|
|
218
|
-
isRadioButton:
|
|
218
|
+
isRadioButton: false
|
|
219
219
|
}];
|
|
220
220
|
if (toolbarFlagsEnabled) {
|
|
221
221
|
editButtonItems.push({
|
|
@@ -213,7 +213,7 @@ var editButton = function editButton(formatMessage, extensionState, applyChangeT
|
|
|
213
213
|
tabIndex: null,
|
|
214
214
|
focusEditoronEnter: true,
|
|
215
215
|
disabled: isDisabled,
|
|
216
|
-
isRadioButton:
|
|
216
|
+
isRadioButton: false
|
|
217
217
|
}];
|
|
218
218
|
if (toolbarFlagsEnabled) {
|
|
219
219
|
editButtonItems.push({
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { ADFEntity } from '@atlaskit/adf-utils/types';
|
|
2
2
|
import type { EditorAnalyticsAPI } from '@atlaskit/editor-common/analytics';
|
|
3
3
|
import type { GetPMNodeHeight } from '@atlaskit/editor-common/extensibility';
|
|
4
|
+
import type { ExtensionAnnotationPlugin } from '@atlaskit/editor-common/extensibility/types';
|
|
4
5
|
import type { ExtensionAPI, ExtensionHandlers, ExtensionParams, ExtensionProvider, Parameters, TransformAfter, TransformBefore, UpdateExtension } from '@atlaskit/editor-common/extensions';
|
|
5
6
|
import type { MacroProvider } from '@atlaskit/editor-common/provider-factory';
|
|
6
7
|
import type { EditorAppearance, LongPressSelectionPluginOptions, NextEditorPlugin, OptionalPlugin } from '@atlaskit/editor-common/types';
|
|
@@ -104,6 +105,7 @@ export type InsertOrReplaceExtensionType = {
|
|
|
104
105
|
};
|
|
105
106
|
type InsertOrReplaceExtensionAction = ({ editorView, action, attrs, content, position, size, tr, }: InsertOrReplaceExtensionType) => Transaction;
|
|
106
107
|
export type ExtensionPluginDependencies = [
|
|
108
|
+
OptionalPlugin<ExtensionAnnotationPlugin>,
|
|
107
109
|
OptionalPlugin<AnalyticsPlugin>,
|
|
108
110
|
OptionalPlugin<FeatureFlagsPlugin>,
|
|
109
111
|
WidthPlugin,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-extension",
|
|
3
|
-
"version": "27.0.
|
|
3
|
+
"version": "27.0.5",
|
|
4
4
|
"description": "editor-plugin-extension plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
"@atlaskit/tabs": "^21.3.0",
|
|
70
70
|
"@atlaskit/textarea": "^10.2.0",
|
|
71
71
|
"@atlaskit/textfield": "^10.2.0",
|
|
72
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
72
|
+
"@atlaskit/tmp-editor-statsig": "^224.0.0",
|
|
73
73
|
"@atlaskit/toggle": "^17.3.0",
|
|
74
74
|
"@atlaskit/tokens": "^20.3.0",
|
|
75
75
|
"@atlaskit/tooltip": "^24.4.0",
|
|
@@ -85,7 +85,7 @@
|
|
|
85
85
|
"uuid": "^11.1.1"
|
|
86
86
|
},
|
|
87
87
|
"peerDependencies": {
|
|
88
|
-
"@atlaskit/editor-common": "^128.
|
|
88
|
+
"@atlaskit/editor-common": "^128.4.0",
|
|
89
89
|
"react": "^18.2.0 || ^19.2.0",
|
|
90
90
|
"react-intl": "^5.25.1 || ^6.0.0 || ^7.0.0"
|
|
91
91
|
},
|