@elementor/editor-editing-panel 4.4.0-1122 → 4.4.0-1124
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.d.mts +5 -2
- package/dist/index.d.ts +5 -2
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +25 -25
- package/src/components/settings-control.tsx +1 -1
package/dist/index.mjs
CHANGED
|
@@ -2740,7 +2740,7 @@ var SettingsControl = ({ control: { value, type } }) => {
|
|
|
2740
2740
|
}
|
|
2741
2741
|
const layout = value.meta?.layout || controlsRegistry.getLayout(value.type);
|
|
2742
2742
|
const controlProps = populateChildControlProps(value.props);
|
|
2743
|
-
if (layout === "custom") {
|
|
2743
|
+
if (layout === "custom" || value.type === "video" || value.type === "svg-media") {
|
|
2744
2744
|
controlProps.label = value.label;
|
|
2745
2745
|
}
|
|
2746
2746
|
if (type === "element-control") {
|