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

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.mjs CHANGED
@@ -2819,7 +2819,15 @@ function createComponentView(options) {
2819
2819
  getResolverRenderContext() {
2820
2820
  const namespaceKey = this.getNamespaceKey();
2821
2821
  const context = this.getRenderContext();
2822
- return context?.[namespaceKey];
2822
+ const ownContext = context?.[namespaceKey];
2823
+ if (!ownContext) {
2824
+ return this._parent?.getResolverRenderContext?.();
2825
+ }
2826
+ const parentResolverContext = this._parent?.getResolverRenderContext?.();
2827
+ return {
2828
+ ...parentResolverContext,
2829
+ ...ownContext
2830
+ };
2823
2831
  }
2824
2832
  afterSettingsResolve(settings) {
2825
2833
  const componentInstance = settings.component_instance;