@elementor/editor-controls 4.1.0-713 → 4.1.0-714

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/dist/index.js CHANGED
@@ -2924,10 +2924,16 @@ var LinkedDimensionsControl = ({ label, isSiteRtl = false, extendedOptions, min
2924
2924
  const linkedLabel = (0, import_i18n18.__)("Link %s", "elementor").replace("%s", tooltipLabel);
2925
2925
  const unlinkedLabel = (0, import_i18n18.__)("Unlink %s", "elementor").replace("%s", tooltipLabel);
2926
2926
  const disabled = sizeDisabled || dimensionsDisabled;
2927
+ const effectiveDimensionsPlaceholder = dimensionsPlaceholder ?? (import_editor_props19.sizePropTypeUtil.extract(masterPlaceholder) ? {
2928
+ "block-start": masterPlaceholder,
2929
+ "block-end": masterPlaceholder,
2930
+ "inline-start": masterPlaceholder,
2931
+ "inline-end": masterPlaceholder
2932
+ } : null);
2927
2933
  const propProviderProps = {
2928
2934
  propType,
2929
2935
  value: dimensionsValue,
2930
- placeholder: dimensionsPlaceholder,
2936
+ placeholder: effectiveDimensionsPlaceholder,
2931
2937
  setValue: setDimensionsValue,
2932
2938
  isDisabled: () => dimensionsDisabled
2933
2939
  };