@elementor/editor-canvas 4.2.0-925 → 4.2.0-926

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
@@ -2742,7 +2742,8 @@ function createTemplatedElementView({
2742
2742
  interaction_id: this.getInteractionId(),
2743
2743
  type,
2744
2744
  settings,
2745
- base_styles: baseStylesDictionary
2745
+ base_styles: baseStylesDictionary,
2746
+ ...this.getResolverRenderContext?.() ?? {}
2746
2747
  };
2747
2748
  return renderer.render(templateKey, context);
2748
2749
  }).then((html) => {
@@ -2906,7 +2907,8 @@ function createNestedTemplatedElementView({
2906
2907
  settings,
2907
2908
  base_styles: baseStylesDictionary,
2908
2909
  editor_attributes: buildEditorAttributes(model),
2909
- editor_classes: buildEditorClasses(model)
2910
+ editor_classes: buildEditorClasses(model),
2911
+ ...this.getResolverRenderContext?.() ?? {}
2910
2912
  };
2911
2913
  return renderer.render(templateKey, context);
2912
2914
  }).then((html) => {
package/dist/index.mjs CHANGED
@@ -2702,7 +2702,8 @@ function createTemplatedElementView({
2702
2702
  interaction_id: this.getInteractionId(),
2703
2703
  type,
2704
2704
  settings,
2705
- base_styles: baseStylesDictionary
2705
+ base_styles: baseStylesDictionary,
2706
+ ...this.getResolverRenderContext?.() ?? {}
2706
2707
  };
2707
2708
  return renderer.render(templateKey, context);
2708
2709
  }).then((html) => {
@@ -2866,7 +2867,8 @@ function createNestedTemplatedElementView({
2866
2867
  settings,
2867
2868
  base_styles: baseStylesDictionary,
2868
2869
  editor_attributes: buildEditorAttributes(model),
2869
- editor_classes: buildEditorClasses(model)
2870
+ editor_classes: buildEditorClasses(model),
2871
+ ...this.getResolverRenderContext?.() ?? {}
2870
2872
  };
2871
2873
  return renderer.render(templateKey, context);
2872
2874
  }).then((html) => {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@elementor/editor-canvas",
3
3
  "description": "Elementor Editor Canvas",
4
- "version": "4.2.0-925",
4
+ "version": "4.2.0-926",
5
5
  "private": false,
6
6
  "author": "Elementor Team",
7
7
  "homepage": "https://elementor.com/",
@@ -37,25 +37,25 @@
37
37
  "react-dom": "^18.3.1"
38
38
  },
39
39
  "dependencies": {
40
- "@elementor/editor": "4.2.0-925",
40
+ "@elementor/editor": "4.2.0-926",
41
41
  "dompurify": "^3.2.6",
42
- "@elementor/editor-controls": "4.2.0-925",
43
- "@elementor/editor-documents": "4.2.0-925",
44
- "@elementor/editor-elements": "4.2.0-925",
45
- "@elementor/editor-interactions": "4.2.0-925",
46
- "@elementor/editor-mcp": "4.2.0-925",
47
- "@elementor/editor-notifications": "4.2.0-925",
48
- "@elementor/editor-props": "4.2.0-925",
49
- "@elementor/editor-responsive": "4.2.0-925",
50
- "@elementor/editor-styles": "4.2.0-925",
51
- "@elementor/editor-styles-repository": "4.2.0-925",
52
- "@elementor/editor-ui": "4.2.0-925",
53
- "@elementor/editor-v1-adapters": "4.2.0-925",
54
- "@elementor/schema": "4.2.0-925",
55
- "@elementor/twing": "4.2.0-925",
42
+ "@elementor/editor-controls": "4.2.0-926",
43
+ "@elementor/editor-documents": "4.2.0-926",
44
+ "@elementor/editor-elements": "4.2.0-926",
45
+ "@elementor/editor-interactions": "4.2.0-926",
46
+ "@elementor/editor-mcp": "4.2.0-926",
47
+ "@elementor/editor-notifications": "4.2.0-926",
48
+ "@elementor/editor-props": "4.2.0-926",
49
+ "@elementor/editor-responsive": "4.2.0-926",
50
+ "@elementor/editor-styles": "4.2.0-926",
51
+ "@elementor/editor-styles-repository": "4.2.0-926",
52
+ "@elementor/editor-ui": "4.2.0-926",
53
+ "@elementor/editor-v1-adapters": "4.2.0-926",
54
+ "@elementor/schema": "4.2.0-926",
55
+ "@elementor/twing": "4.2.0-926",
56
56
  "@elementor/ui": "1.37.5",
57
- "@elementor/utils": "4.2.0-925",
58
- "@elementor/wp-media": "4.2.0-925",
57
+ "@elementor/utils": "4.2.0-926",
58
+ "@elementor/wp-media": "4.2.0-926",
59
59
  "@floating-ui/react": "^0.27.5",
60
60
  "@wordpress/i18n": "^5.13.0"
61
61
  },
@@ -200,6 +200,7 @@ export function createNestedTemplatedElementView( {
200
200
  base_styles: baseStylesDictionary,
201
201
  editor_attributes: buildEditorAttributes( model ),
202
202
  editor_classes: buildEditorClasses( model ),
203
+ ...( this.getResolverRenderContext?.() ?? {} ),
203
204
  };
204
205
 
205
206
  return renderer.render( templateKey, context );
@@ -166,6 +166,7 @@ export function createTemplatedElementView( {
166
166
  type,
167
167
  settings,
168
168
  base_styles: baseStylesDictionary,
169
+ ...( this.getResolverRenderContext?.() ?? {} ),
169
170
  };
170
171
 
171
172
  return renderer.render( templateKey, context );