@elementor/editor-canvas 4.2.0-844 → 4.2.0-846
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
|
@@ -4533,9 +4533,6 @@ var initBuildCompositionsTool = (reg) => {
|
|
|
4533
4533
|
{ description: "Available widgets for this tool", uri: AVAILABLE_WIDGETS_URI_V4 }
|
|
4534
4534
|
],
|
|
4535
4535
|
outputSchema,
|
|
4536
|
-
modelPreferences: {
|
|
4537
|
-
hints: [{ name: "claude-sonnet-4-5" }]
|
|
4538
|
-
},
|
|
4539
4536
|
handler: async (params) => {
|
|
4540
4537
|
assertCompositionXmlUsesV4WidgetsOnly(params.xmlStructure);
|
|
4541
4538
|
const { xmlStructure, elementConfig, stylesConfig, customCSS } = params;
|
|
@@ -4810,11 +4807,6 @@ var initConfigureElementTool = (reg) => {
|
|
|
4810
4807
|
{ description: "Styles schema", uri: STYLE_SCHEMA_URI },
|
|
4811
4808
|
{ description: "Configure element guide", uri: CONFIGURE_ELEMENT_GUIDE_URI }
|
|
4812
4809
|
],
|
|
4813
|
-
modelPreferences: {
|
|
4814
|
-
hints: [{ name: "claude-sonnet-4-5" }],
|
|
4815
|
-
intelligencePriority: 0.8,
|
|
4816
|
-
speedPriority: 0.7
|
|
4817
|
-
},
|
|
4818
4810
|
handler: ({ elementId, propertiesToChange, elementType, stylePropertiesToChange }) => {
|
|
4819
4811
|
const widgetData = (0, import_editor_elements15.getWidgetsCache)()?.[elementType];
|
|
4820
4812
|
if (!widgetData) {
|
|
@@ -4942,10 +4934,6 @@ var initGetElementConfigTool = (reg) => {
|
|
|
4942
4934
|
description: "Retrieve the element's configuration PropValues for a specific element by unique ID.",
|
|
4943
4935
|
schema,
|
|
4944
4936
|
outputSchema: outputSchema3,
|
|
4945
|
-
modelPreferences: {
|
|
4946
|
-
intelligencePriority: 0.6,
|
|
4947
|
-
speedPriority: 0.9
|
|
4948
|
-
},
|
|
4949
4937
|
handler: async ({ elementId }) => {
|
|
4950
4938
|
const element = (0, import_editor_elements16.getContainer)(elementId);
|
|
4951
4939
|
if (!element) {
|
package/dist/index.mjs
CHANGED
|
@@ -4527,9 +4527,6 @@ var initBuildCompositionsTool = (reg) => {
|
|
|
4527
4527
|
{ description: "Available widgets for this tool", uri: AVAILABLE_WIDGETS_URI_V4 }
|
|
4528
4528
|
],
|
|
4529
4529
|
outputSchema,
|
|
4530
|
-
modelPreferences: {
|
|
4531
|
-
hints: [{ name: "claude-sonnet-4-5" }]
|
|
4532
|
-
},
|
|
4533
4530
|
handler: async (params) => {
|
|
4534
4531
|
assertCompositionXmlUsesV4WidgetsOnly(params.xmlStructure);
|
|
4535
4532
|
const { xmlStructure, elementConfig, stylesConfig, customCSS } = params;
|
|
@@ -4804,11 +4801,6 @@ var initConfigureElementTool = (reg) => {
|
|
|
4804
4801
|
{ description: "Styles schema", uri: STYLE_SCHEMA_URI },
|
|
4805
4802
|
{ description: "Configure element guide", uri: CONFIGURE_ELEMENT_GUIDE_URI }
|
|
4806
4803
|
],
|
|
4807
|
-
modelPreferences: {
|
|
4808
|
-
hints: [{ name: "claude-sonnet-4-5" }],
|
|
4809
|
-
intelligencePriority: 0.8,
|
|
4810
|
-
speedPriority: 0.7
|
|
4811
|
-
},
|
|
4812
4804
|
handler: ({ elementId, propertiesToChange, elementType, stylePropertiesToChange }) => {
|
|
4813
4805
|
const widgetData = getWidgetsCache10()?.[elementType];
|
|
4814
4806
|
if (!widgetData) {
|
|
@@ -4936,10 +4928,6 @@ var initGetElementConfigTool = (reg) => {
|
|
|
4936
4928
|
description: "Retrieve the element's configuration PropValues for a specific element by unique ID.",
|
|
4937
4929
|
schema,
|
|
4938
4930
|
outputSchema: outputSchema3,
|
|
4939
|
-
modelPreferences: {
|
|
4940
|
-
intelligencePriority: 0.6,
|
|
4941
|
-
speedPriority: 0.9
|
|
4942
|
-
},
|
|
4943
4931
|
handler: async ({ elementId }) => {
|
|
4944
4932
|
const element = getContainer6(elementId);
|
|
4945
4933
|
if (!element) {
|
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-
|
|
4
|
+
"version": "4.2.0-846",
|
|
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-
|
|
40
|
+
"@elementor/editor": "4.2.0-846",
|
|
41
41
|
"dompurify": "^3.2.6",
|
|
42
|
-
"@elementor/editor-controls": "4.2.0-
|
|
43
|
-
"@elementor/editor-documents": "4.2.0-
|
|
44
|
-
"@elementor/editor-elements": "4.2.0-
|
|
45
|
-
"@elementor/editor-interactions": "4.2.0-
|
|
46
|
-
"@elementor/editor-mcp": "4.2.0-
|
|
47
|
-
"@elementor/editor-notifications": "4.2.0-
|
|
48
|
-
"@elementor/editor-props": "4.2.0-
|
|
49
|
-
"@elementor/editor-responsive": "4.2.0-
|
|
50
|
-
"@elementor/editor-styles": "4.2.0-
|
|
51
|
-
"@elementor/editor-styles-repository": "4.2.0-
|
|
52
|
-
"@elementor/editor-ui": "4.2.0-
|
|
53
|
-
"@elementor/editor-v1-adapters": "4.2.0-
|
|
54
|
-
"@elementor/schema": "4.2.0-
|
|
55
|
-
"@elementor/twing": "4.2.0-
|
|
42
|
+
"@elementor/editor-controls": "4.2.0-846",
|
|
43
|
+
"@elementor/editor-documents": "4.2.0-846",
|
|
44
|
+
"@elementor/editor-elements": "4.2.0-846",
|
|
45
|
+
"@elementor/editor-interactions": "4.2.0-846",
|
|
46
|
+
"@elementor/editor-mcp": "4.2.0-846",
|
|
47
|
+
"@elementor/editor-notifications": "4.2.0-846",
|
|
48
|
+
"@elementor/editor-props": "4.2.0-846",
|
|
49
|
+
"@elementor/editor-responsive": "4.2.0-846",
|
|
50
|
+
"@elementor/editor-styles": "4.2.0-846",
|
|
51
|
+
"@elementor/editor-styles-repository": "4.2.0-846",
|
|
52
|
+
"@elementor/editor-ui": "4.2.0-846",
|
|
53
|
+
"@elementor/editor-v1-adapters": "4.2.0-846",
|
|
54
|
+
"@elementor/schema": "4.2.0-846",
|
|
55
|
+
"@elementor/twing": "4.2.0-846",
|
|
56
56
|
"@elementor/ui": "1.37.5",
|
|
57
|
-
"@elementor/utils": "4.2.0-
|
|
58
|
-
"@elementor/wp-media": "4.2.0-
|
|
57
|
+
"@elementor/utils": "4.2.0-846",
|
|
58
|
+
"@elementor/wp-media": "4.2.0-846",
|
|
59
59
|
"@floating-ui/react": "^0.27.5",
|
|
60
60
|
"@wordpress/i18n": "^5.13.0"
|
|
61
61
|
},
|
|
@@ -46,9 +46,6 @@ export const initBuildCompositionsTool = ( reg: MCPRegistryEntry ) => {
|
|
|
46
46
|
{ description: 'Available widgets for this tool', uri: AVAILABLE_WIDGETS_URI_V4 },
|
|
47
47
|
],
|
|
48
48
|
outputSchema,
|
|
49
|
-
modelPreferences: {
|
|
50
|
-
hints: [ { name: 'claude-sonnet-4-5' } ],
|
|
51
|
-
},
|
|
52
49
|
handler: async ( params ) => {
|
|
53
50
|
assertCompositionXmlUsesV4WidgetsOnly( params.xmlStructure );
|
|
54
51
|
const { xmlStructure, elementConfig, stylesConfig, customCSS } = params;
|
|
@@ -33,11 +33,6 @@ export const initConfigureElementTool = ( reg: MCPRegistryEntry ) => {
|
|
|
33
33
|
{ description: 'Styles schema', uri: STYLE_SCHEMA_URI },
|
|
34
34
|
{ description: 'Configure element guide', uri: CONFIGURE_ELEMENT_GUIDE_URI },
|
|
35
35
|
],
|
|
36
|
-
modelPreferences: {
|
|
37
|
-
hints: [ { name: 'claude-sonnet-4-5' } ],
|
|
38
|
-
intelligencePriority: 0.8,
|
|
39
|
-
speedPriority: 0.7,
|
|
40
|
-
},
|
|
41
36
|
handler: ( { elementId, propertiesToChange, elementType, stylePropertiesToChange } ) => {
|
|
42
37
|
const widgetData = getWidgetsCache()?.[ elementType ];
|
|
43
38
|
if ( ! widgetData ) {
|
|
@@ -50,10 +50,6 @@ export const initGetElementConfigTool = ( reg: MCPRegistryEntry ) => {
|
|
|
50
50
|
description: "Retrieve the element's configuration PropValues for a specific element by unique ID.",
|
|
51
51
|
schema,
|
|
52
52
|
outputSchema,
|
|
53
|
-
modelPreferences: {
|
|
54
|
-
intelligencePriority: 0.6,
|
|
55
|
-
speedPriority: 0.9,
|
|
56
|
-
},
|
|
57
53
|
handler: async ( { elementId } ) => {
|
|
58
54
|
const element = getContainer( elementId );
|
|
59
55
|
if ( ! element ) {
|