@atlaskit/editor-presets 11.0.8 → 11.1.0
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/confluence-full-page-base/pluginOptions/mediaPluginOptions/mediaPluginOptions.js +2 -1
- package/dist/es2019/confluence-full-page-base/pluginOptions/mediaPluginOptions/mediaPluginOptions.js +2 -1
- package/dist/esm/confluence-full-page-base/pluginOptions/mediaPluginOptions/mediaPluginOptions.js +2 -1
- package/dist/types/confluence-full-page-base/pluginOptions/mediaPluginOptions/mediaPluginOptions.d.ts +1 -0
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @atlaskit/editor-presets
|
|
2
2
|
|
|
3
|
+
## 11.1.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`d3a7f9016da28`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/d3a7f9016da28) -
|
|
8
|
+
Add media render lifecycle callbacks for Remix-generated media behind
|
|
9
|
+
cc-maui-add-mark-for-remix-generated-images.
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- Updated dependencies
|
|
14
|
+
|
|
3
15
|
## 11.0.8
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
package/dist/cjs/confluence-full-page-base/pluginOptions/mediaPluginOptions/mediaPluginOptions.js
CHANGED
|
@@ -56,6 +56,7 @@ function mediaPluginOptions(_ref) {
|
|
|
56
56
|
// SECTION: From confluence/next/packages/full-page-editor/src/FullPageEditorComponent.tsx
|
|
57
57
|
waitForMediaUpload: true,
|
|
58
58
|
// END SECTION
|
|
59
|
-
mediaViewerExtensions: options.mediaViewerExtensions
|
|
59
|
+
mediaViewerExtensions: options.mediaViewerExtensions,
|
|
60
|
+
onMediaRenderEvent: options.onMediaRenderEvent
|
|
60
61
|
};
|
|
61
62
|
}
|
package/dist/es2019/confluence-full-page-base/pluginOptions/mediaPluginOptions/mediaPluginOptions.js
CHANGED
|
@@ -51,6 +51,7 @@ export function mediaPluginOptions({
|
|
|
51
51
|
// SECTION: From confluence/next/packages/full-page-editor/src/FullPageEditorComponent.tsx
|
|
52
52
|
waitForMediaUpload: true,
|
|
53
53
|
// END SECTION
|
|
54
|
-
mediaViewerExtensions: options.mediaViewerExtensions
|
|
54
|
+
mediaViewerExtensions: options.mediaViewerExtensions,
|
|
55
|
+
onMediaRenderEvent: options.onMediaRenderEvent
|
|
55
56
|
};
|
|
56
57
|
}
|
package/dist/esm/confluence-full-page-base/pluginOptions/mediaPluginOptions/mediaPluginOptions.js
CHANGED
|
@@ -50,6 +50,7 @@ export function mediaPluginOptions(_ref) {
|
|
|
50
50
|
// SECTION: From confluence/next/packages/full-page-editor/src/FullPageEditorComponent.tsx
|
|
51
51
|
waitForMediaUpload: true,
|
|
52
52
|
// END SECTION
|
|
53
|
-
mediaViewerExtensions: options.mediaViewerExtensions
|
|
53
|
+
mediaViewerExtensions: options.mediaViewerExtensions,
|
|
54
|
+
onMediaRenderEvent: options.onMediaRenderEvent
|
|
54
55
|
};
|
|
55
56
|
}
|
|
@@ -8,6 +8,7 @@ interface Props {
|
|
|
8
8
|
createCommentExperience: MediaPluginOptions['createCommentExperience'];
|
|
9
9
|
editorAppearance: FullPageEditorAppearance;
|
|
10
10
|
mediaViewerExtensions: MediaPluginOptions['mediaViewerExtensions'];
|
|
11
|
+
onMediaRenderEvent?: MediaPluginOptions['onMediaRenderEvent'];
|
|
11
12
|
};
|
|
12
13
|
providers: {
|
|
13
14
|
mediaProvider: Promise<MediaProvider> | undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-presets",
|
|
3
|
-
"version": "11.0
|
|
3
|
+
"version": "11.1.0",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"description": "Public editor presets for Atlassian Editor containing base configurations for Confluence and other products",
|
|
6
6
|
"publishConfig": {
|
|
@@ -78,7 +78,7 @@
|
|
|
78
78
|
"@atlaskit/editor-plugin-list": "^19.0.0",
|
|
79
79
|
"@atlaskit/editor-plugin-local-id": "^15.0.0",
|
|
80
80
|
"@atlaskit/editor-plugin-loom": "^19.0.0",
|
|
81
|
-
"@atlaskit/editor-plugin-media": "^19.
|
|
81
|
+
"@atlaskit/editor-plugin-media": "^19.2.0",
|
|
82
82
|
"@atlaskit/editor-plugin-media-insert": "^32.0.0",
|
|
83
83
|
"@atlaskit/editor-plugin-mentions": "^19.1.0",
|
|
84
84
|
"@atlaskit/editor-plugin-metrics": "^18.0.0",
|