@elementor/editor-components 3.35.0-422 → 3.35.0-424
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 +2 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +22 -22
- package/src/create-component-type.ts +3 -1
package/dist/index.mjs
CHANGED
|
@@ -1762,12 +1762,13 @@ var updateGroups = (groups, config) => {
|
|
|
1762
1762
|
function createComponentType(options) {
|
|
1763
1763
|
const legacyWindow = window;
|
|
1764
1764
|
const WidgetType = legacyWindow.elementor.modules.elements.types.Widget;
|
|
1765
|
+
const view = createComponentView({ ...options });
|
|
1765
1766
|
return class extends WidgetType {
|
|
1766
1767
|
getType() {
|
|
1767
1768
|
return options.type;
|
|
1768
1769
|
}
|
|
1769
1770
|
getView() {
|
|
1770
|
-
return
|
|
1771
|
+
return view;
|
|
1771
1772
|
}
|
|
1772
1773
|
getModel() {
|
|
1773
1774
|
return createComponentModel();
|