@atlaskit/editor-plugin-media 0.11.6 → 0.11.7

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,11 @@
1
1
  # @atlaskit/editor-plugin-media
2
2
 
3
+ ## 0.11.7
4
+
5
+ ### Patch Changes
6
+
7
+ - [#68380](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/68380) [`180e570d3332`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/180e570d3332) - Consolidate media grouped layout ff to inline image base ff
8
+
3
9
  ## 0.11.6
4
10
 
5
11
  ### Patch Changes
@@ -219,7 +219,7 @@ var generateMediaSingleFloatingToolbar = function generateMediaSingleFloatingToo
219
219
  }
220
220
  }
221
221
  var layoutButtons = (0, _card.buildLayoutButtons)(state, intl, state.schema.nodes.mediaSingle, widthPlugin, pluginInjectionApi === null || pluginInjectionApi === void 0 || (_pluginInjectionApi$a3 = pluginInjectionApi.analytics) === null || _pluginInjectionApi$a3 === void 0 ? void 0 : _pluginInjectionApi$a3.actions, allowResizing, allowResizingInTables, true, true, isChangingLayoutDisabled);
222
- if ((0, _platformFeatureFlags.getBooleanFF)('platform.editor.media.grouped-layout') && selectedNode) {
222
+ if ((0, _platformFeatureFlags.getBooleanFF)('platform.editor.media.inline-image.base-support') && selectedNode) {
223
223
  var selectedLayoutIcon = (0, _utils2.getSelectedLayoutIcon)([].concat((0, _toConsumableArray2.default)(_card.alignmentIcons), (0, _toConsumableArray2.default)(_card.wrappingIcons)), selectedNode.node);
224
224
  if (selectedLayoutIcon && layoutButtons.length) {
225
225
  var _options = {
@@ -212,7 +212,7 @@ const generateMediaSingleFloatingToolbar = (state, intl, options, pluginState, m
212
212
  }
213
213
  }
214
214
  const layoutButtons = buildLayoutButtons(state, intl, state.schema.nodes.mediaSingle, widthPlugin, pluginInjectionApi === null || pluginInjectionApi === void 0 ? void 0 : (_pluginInjectionApi$a3 = pluginInjectionApi.analytics) === null || _pluginInjectionApi$a3 === void 0 ? void 0 : _pluginInjectionApi$a3.actions, allowResizing, allowResizingInTables, true, true, isChangingLayoutDisabled);
215
- if (getBooleanFF('platform.editor.media.grouped-layout') && selectedNode) {
215
+ if (getBooleanFF('platform.editor.media.inline-image.base-support') && selectedNode) {
216
216
  const selectedLayoutIcon = getSelectedLayoutIcon([...alignmentIcons, ...wrappingIcons], selectedNode.node);
217
217
  if (selectedLayoutIcon && layoutButtons.length) {
218
218
  const options = {
@@ -209,7 +209,7 @@ var generateMediaSingleFloatingToolbar = function generateMediaSingleFloatingToo
209
209
  }
210
210
  }
211
211
  var layoutButtons = buildLayoutButtons(state, intl, state.schema.nodes.mediaSingle, widthPlugin, pluginInjectionApi === null || pluginInjectionApi === void 0 || (_pluginInjectionApi$a3 = pluginInjectionApi.analytics) === null || _pluginInjectionApi$a3 === void 0 ? void 0 : _pluginInjectionApi$a3.actions, allowResizing, allowResizingInTables, true, true, isChangingLayoutDisabled);
212
- if (getBooleanFF('platform.editor.media.grouped-layout') && selectedNode) {
212
+ if (getBooleanFF('platform.editor.media.inline-image.base-support') && selectedNode) {
213
213
  var selectedLayoutIcon = getSelectedLayoutIcon([].concat(_toConsumableArray(alignmentIcons), _toConsumableArray(wrappingIcons)), selectedNode.node);
214
214
  if (selectedLayoutIcon && layoutButtons.length) {
215
215
  var _options = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-media",
3
- "version": "0.11.6",
3
+ "version": "0.11.7",
4
4
  "description": "Media plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -135,9 +135,6 @@
135
135
  "platform.editor.media.inline-image.base-support": {
136
136
  "type": "boolean"
137
137
  },
138
- "platform.editor.media.grouped-layout": {
139
- "type": "boolean"
140
- },
141
138
  "platform.media-experience.media-viewer-v2_hgsii": {
142
139
  "type": "boolean",
143
140
  "referenceOnly": "true"