@elementor/editor-components 3.35.0-423 → 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.js
CHANGED
|
@@ -1767,12 +1767,13 @@ var updateGroups = (groups, config) => {
|
|
|
1767
1767
|
function createComponentType(options) {
|
|
1768
1768
|
const legacyWindow = window;
|
|
1769
1769
|
const WidgetType = legacyWindow.elementor.modules.elements.types.Widget;
|
|
1770
|
+
const view = createComponentView({ ...options });
|
|
1770
1771
|
return class extends WidgetType {
|
|
1771
1772
|
getType() {
|
|
1772
1773
|
return options.type;
|
|
1773
1774
|
}
|
|
1774
1775
|
getView() {
|
|
1775
|
-
return
|
|
1776
|
+
return view;
|
|
1776
1777
|
}
|
|
1777
1778
|
getModel() {
|
|
1778
1779
|
return createComponentModel();
|