@elementor/editor-canvas 4.2.0-860 → 4.2.0-862
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 +7 -0
- package/dist/index.mjs +7 -0
- package/package.json +18 -18
- package/src/mcp/tools/configure-element/prompt.ts +8 -0
package/dist/index.js
CHANGED
|
@@ -4766,6 +4766,13 @@ Use the EXACT "PROP-TYPE" Schema given, and ALWAYS include the "key" property fr
|
|
|
4766
4766
|
configureElementToolPrompt.instruction(
|
|
4767
4767
|
"The $$type property is MANDATORY for every value; it is required to parse the value and apply application-level effects."
|
|
4768
4768
|
);
|
|
4769
|
+
configureElementToolPrompt.instruction(`
|
|
4770
|
+
V4 only: If MCP fails, give manual steps using V4 UI.
|
|
4771
|
+
|
|
4772
|
+
V4 Editor structure:
|
|
4773
|
+
Panel tabs: General (\u2192 Settings section: ID, Tag, Link), Style, Interactions.
|
|
4774
|
+
NO Advanced tab. Never mention Advanced tab.
|
|
4775
|
+
`);
|
|
4769
4776
|
return configureElementToolPrompt.prompt();
|
|
4770
4777
|
};
|
|
4771
4778
|
var CONFIGURE_ELEMENT_GUIDE_TEXT = generatePrompt2();
|
package/dist/index.mjs
CHANGED
|
@@ -4761,6 +4761,13 @@ Use the EXACT "PROP-TYPE" Schema given, and ALWAYS include the "key" property fr
|
|
|
4761
4761
|
configureElementToolPrompt.instruction(
|
|
4762
4762
|
"The $$type property is MANDATORY for every value; it is required to parse the value and apply application-level effects."
|
|
4763
4763
|
);
|
|
4764
|
+
configureElementToolPrompt.instruction(`
|
|
4765
|
+
V4 only: If MCP fails, give manual steps using V4 UI.
|
|
4766
|
+
|
|
4767
|
+
V4 Editor structure:
|
|
4768
|
+
Panel tabs: General (\u2192 Settings section: ID, Tag, Link), Style, Interactions.
|
|
4769
|
+
NO Advanced tab. Never mention Advanced tab.
|
|
4770
|
+
`);
|
|
4764
4771
|
return configureElementToolPrompt.prompt();
|
|
4765
4772
|
};
|
|
4766
4773
|
var CONFIGURE_ELEMENT_GUIDE_TEXT = generatePrompt2();
|
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-862",
|
|
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-862",
|
|
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-862",
|
|
43
|
+
"@elementor/editor-documents": "4.2.0-862",
|
|
44
|
+
"@elementor/editor-elements": "4.2.0-862",
|
|
45
|
+
"@elementor/editor-interactions": "4.2.0-862",
|
|
46
|
+
"@elementor/editor-mcp": "4.2.0-862",
|
|
47
|
+
"@elementor/editor-notifications": "4.2.0-862",
|
|
48
|
+
"@elementor/editor-props": "4.2.0-862",
|
|
49
|
+
"@elementor/editor-responsive": "4.2.0-862",
|
|
50
|
+
"@elementor/editor-styles": "4.2.0-862",
|
|
51
|
+
"@elementor/editor-styles-repository": "4.2.0-862",
|
|
52
|
+
"@elementor/editor-ui": "4.2.0-862",
|
|
53
|
+
"@elementor/editor-v1-adapters": "4.2.0-862",
|
|
54
|
+
"@elementor/schema": "4.2.0-862",
|
|
55
|
+
"@elementor/twing": "4.2.0-862",
|
|
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-862",
|
|
58
|
+
"@elementor/wp-media": "4.2.0-862",
|
|
59
59
|
"@floating-ui/react": "^0.27.5",
|
|
60
60
|
"@wordpress/i18n": "^5.13.0"
|
|
61
61
|
},
|
|
@@ -117,6 +117,14 @@ Use the EXACT "PROP-TYPE" Schema given, and ALWAYS include the "key" property fr
|
|
|
117
117
|
'The $$type property is MANDATORY for every value; it is required to parse the value and apply application-level effects.'
|
|
118
118
|
);
|
|
119
119
|
|
|
120
|
+
configureElementToolPrompt.instruction( `
|
|
121
|
+
V4 only: If MCP fails, give manual steps using V4 UI.
|
|
122
|
+
|
|
123
|
+
V4 Editor structure:
|
|
124
|
+
Panel tabs: General (→ Settings section: ID, Tag, Link), Style, Interactions.
|
|
125
|
+
NO Advanced tab. Never mention Advanced tab.
|
|
126
|
+
` );
|
|
127
|
+
|
|
120
128
|
return configureElementToolPrompt.prompt();
|
|
121
129
|
};
|
|
122
130
|
|