@elementor/editor-components 4.2.0-929 → 4.2.0-930

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
@@ -2874,7 +2874,15 @@ function createComponentView(options) {
2874
2874
  getResolverRenderContext() {
2875
2875
  const namespaceKey = this.getNamespaceKey();
2876
2876
  const context = this.getRenderContext();
2877
- return context?.[namespaceKey];
2877
+ const ownContext = context?.[namespaceKey];
2878
+ if (!ownContext) {
2879
+ return this._parent?.getResolverRenderContext?.();
2880
+ }
2881
+ const parentResolverContext = this._parent?.getResolverRenderContext?.();
2882
+ return {
2883
+ ...parentResolverContext,
2884
+ ...ownContext
2885
+ };
2878
2886
  }
2879
2887
  afterSettingsResolve(settings) {
2880
2888
  const componentInstance = settings.component_instance;