@elementor/editor-canvas 4.3.0-1011 → 4.3.0-1012

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
@@ -5149,7 +5149,7 @@ var initGetPageStructureTool = (reg) => {
5149
5149
  const { addTool } = reg;
5150
5150
  addTool({
5151
5151
  name: "get-page-structure",
5152
- description: "Returns a lean Elementor element tree skeleton (id, elType, widgetType, nested elements) for a post or page. If no postId is provided, uses the currently open document. Optionally scope to a subtree with elementId. Set includeContent=true (requires elementId) to also return each node's settings and styles.",
5152
+ description: "Returns a lean Elementor element tree skeleton (id, elType, widgetType, title, nested elements) for a post or page. If no postId is provided, uses the currently open document. Optionally scope to a subtree with elementId. Set includeContent=true (requires elementId) to also return each node's settings and styles.",
5153
5153
  schema: {
5154
5154
  postId: import_schema4.z.number().optional().describe(
5155
5155
  "WordPress post ID of the Elementor document. If omitted, uses the currently open document."
@@ -5161,7 +5161,7 @@ var initGetPageStructureTool = (reg) => {
5161
5161
  },
5162
5162
  outputSchema: {
5163
5163
  elements: import_schema4.z.array(import_schema4.z.any()).describe(
5164
- "Skeleton of Elementor elements (id, elType, widgetType, nested elements). When includeContent is true, each node also includes settings and styles."
5164
+ "Skeleton of Elementor elements (id, elType, widgetType, title, nested elements). When includeContent is true, each node also includes settings and styles."
5165
5165
  )
5166
5166
  },
5167
5167
  handler: async ({ postId, elementId, includeContent }) => {
package/dist/index.mjs CHANGED
@@ -5121,7 +5121,7 @@ var initGetPageStructureTool = (reg) => {
5121
5121
  const { addTool } = reg;
5122
5122
  addTool({
5123
5123
  name: "get-page-structure",
5124
- description: "Returns a lean Elementor element tree skeleton (id, elType, widgetType, nested elements) for a post or page. If no postId is provided, uses the currently open document. Optionally scope to a subtree with elementId. Set includeContent=true (requires elementId) to also return each node's settings and styles.",
5124
+ description: "Returns a lean Elementor element tree skeleton (id, elType, widgetType, title, nested elements) for a post or page. If no postId is provided, uses the currently open document. Optionally scope to a subtree with elementId. Set includeContent=true (requires elementId) to also return each node's settings and styles.",
5125
5125
  schema: {
5126
5126
  postId: z3.number().optional().describe(
5127
5127
  "WordPress post ID of the Elementor document. If omitted, uses the currently open document."
@@ -5133,7 +5133,7 @@ var initGetPageStructureTool = (reg) => {
5133
5133
  },
5134
5134
  outputSchema: {
5135
5135
  elements: z3.array(z3.any()).describe(
5136
- "Skeleton of Elementor elements (id, elType, widgetType, nested elements). When includeContent is true, each node also includes settings and styles."
5136
+ "Skeleton of Elementor elements (id, elType, widgetType, title, nested elements). When includeContent is true, each node also includes settings and styles."
5137
5137
  )
5138
5138
  },
5139
5139
  handler: async ({ postId, elementId, includeContent }) => {
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.3.0-1011",
4
+ "version": "4.3.0-1012",
5
5
  "private": false,
6
6
  "author": "Elementor Team",
7
7
  "homepage": "https://elementor.com/",
@@ -37,26 +37,26 @@
37
37
  "react-dom": "^18.3.1"
38
38
  },
39
39
  "dependencies": {
40
- "@elementor/editor": "4.3.0-1011",
41
- "@elementor/editor-controls": "4.3.0-1011",
42
- "@elementor/editor-documents": "4.3.0-1011",
43
- "@elementor/editor-elements": "4.3.0-1011",
44
- "@elementor/editor-interactions": "4.3.0-1011",
45
- "@elementor/editor-mcp": "4.3.0-1011",
46
- "@elementor/editor-notifications": "4.3.0-1011",
47
- "@elementor/editor-props": "4.3.0-1011",
48
- "@elementor/editor-responsive": "4.3.0-1011",
49
- "@elementor/editor-styles": "4.3.0-1011",
50
- "@elementor/editor-styles-repository": "4.3.0-1011",
51
- "@elementor/editor-ui": "4.3.0-1011",
52
- "@elementor/editor-v1-adapters": "4.3.0-1011",
53
- "@elementor/events": "4.3.0-1011",
54
- "@elementor/http-client": "4.3.0-1011",
55
- "@elementor/schema": "4.3.0-1011",
56
- "@elementor/twing": "4.3.0-1011",
40
+ "@elementor/editor": "4.3.0-1012",
41
+ "@elementor/editor-controls": "4.3.0-1012",
42
+ "@elementor/editor-documents": "4.3.0-1012",
43
+ "@elementor/editor-elements": "4.3.0-1012",
44
+ "@elementor/editor-interactions": "4.3.0-1012",
45
+ "@elementor/editor-mcp": "4.3.0-1012",
46
+ "@elementor/editor-notifications": "4.3.0-1012",
47
+ "@elementor/editor-props": "4.3.0-1012",
48
+ "@elementor/editor-responsive": "4.3.0-1012",
49
+ "@elementor/editor-styles": "4.3.0-1012",
50
+ "@elementor/editor-styles-repository": "4.3.0-1012",
51
+ "@elementor/editor-ui": "4.3.0-1012",
52
+ "@elementor/editor-v1-adapters": "4.3.0-1012",
53
+ "@elementor/events": "4.3.0-1012",
54
+ "@elementor/http-client": "4.3.0-1012",
55
+ "@elementor/schema": "4.3.0-1012",
56
+ "@elementor/twing": "4.3.0-1012",
57
57
  "@elementor/ui": "1.37.5",
58
- "@elementor/utils": "4.3.0-1011",
59
- "@elementor/wp-media": "4.3.0-1011",
58
+ "@elementor/utils": "4.3.0-1012",
59
+ "@elementor/wp-media": "4.3.0-1012",
60
60
  "@floating-ui/react": "^0.27.5",
61
61
  "@wordpress/i18n": "^5.13.0",
62
62
  "dompurify": "^3.2.6"
@@ -17,7 +17,7 @@ export const initGetPageStructureTool = ( reg: MCPRegistryEntry ) => {
17
17
  addTool( {
18
18
  name: 'get-page-structure',
19
19
  description:
20
- 'Returns a lean Elementor element tree skeleton (id, elType, widgetType, nested elements) for a post or page. ' +
20
+ 'Returns a lean Elementor element tree skeleton (id, elType, widgetType, title, nested elements) for a post or page. ' +
21
21
  'If no postId is provided, uses the currently open document. Optionally scope to a subtree with elementId. ' +
22
22
  "Set includeContent=true (requires elementId) to also return each node's settings and styles.",
23
23
  schema: {
@@ -42,7 +42,7 @@ export const initGetPageStructureTool = ( reg: MCPRegistryEntry ) => {
42
42
  elements: z
43
43
  .array( z.any() )
44
44
  .describe(
45
- 'Skeleton of Elementor elements (id, elType, widgetType, nested elements). When includeContent is true, each node also includes settings and styles.'
45
+ 'Skeleton of Elementor elements (id, elType, widgetType, title, nested elements). When includeContent is true, each node also includes settings and styles.'
46
46
  ),
47
47
  },
48
48
  handler: async ( { postId, elementId, includeContent } ) => {