@atlaskit/editor-plugin-media 2.3.2 → 2.3.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,13 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-media
|
|
2
2
|
|
|
3
|
+
## 2.3.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#122379](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/122379)
|
|
8
|
+
[`e0df50f1d4692`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/e0df50f1d4692) -
|
|
9
|
+
[ux] Not show pixel entry on media floating toolbar under editor control experiment
|
|
10
|
+
|
|
3
11
|
## 2.3.2
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
|
@@ -468,10 +468,12 @@ var generateMediaSingleFloatingToolbar = function generateMediaSingleFloatingToo
|
|
|
468
468
|
}
|
|
469
469
|
return [sizeInput];
|
|
470
470
|
}
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
471
|
+
if ((0, _experiments.editorExperiment)('platform_editor_controls', 'control')) {
|
|
472
|
+
toolbarButtons.push(sizeInput);
|
|
473
|
+
toolbarButtons.push({
|
|
474
|
+
type: 'separator'
|
|
475
|
+
});
|
|
476
|
+
}
|
|
475
477
|
}
|
|
476
478
|
if ((0, _experiments.editorExperiment)('platform_editor_controls', 'control')) {
|
|
477
479
|
if (allowCommentsOnMedia) {
|
|
@@ -464,10 +464,12 @@ const generateMediaSingleFloatingToolbar = (state, intl, options, pluginState, m
|
|
|
464
464
|
}
|
|
465
465
|
return [sizeInput];
|
|
466
466
|
}
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
467
|
+
if (editorExperiment('platform_editor_controls', 'control')) {
|
|
468
|
+
toolbarButtons.push(sizeInput);
|
|
469
|
+
toolbarButtons.push({
|
|
470
|
+
type: 'separator'
|
|
471
|
+
});
|
|
472
|
+
}
|
|
471
473
|
}
|
|
472
474
|
if (editorExperiment('platform_editor_controls', 'control')) {
|
|
473
475
|
if (allowCommentsOnMedia) {
|
|
@@ -458,10 +458,12 @@ var generateMediaSingleFloatingToolbar = function generateMediaSingleFloatingToo
|
|
|
458
458
|
}
|
|
459
459
|
return [sizeInput];
|
|
460
460
|
}
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
461
|
+
if (editorExperiment('platform_editor_controls', 'control')) {
|
|
462
|
+
toolbarButtons.push(sizeInput);
|
|
463
|
+
toolbarButtons.push({
|
|
464
|
+
type: 'separator'
|
|
465
|
+
});
|
|
466
|
+
}
|
|
465
467
|
}
|
|
466
468
|
if (editorExperiment('platform_editor_controls', 'control')) {
|
|
467
469
|
if (allowCommentsOnMedia) {
|