@elementor/editor-global-classes 4.1.0-828 → 4.1.0-830
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
|
@@ -2864,7 +2864,7 @@ function initMcpApplyUnapplyGlobalClasses(server) {
|
|
|
2864
2864
|
- Make sure you have the correct class ID that you want to unapply.
|
|
2865
2865
|
|
|
2866
2866
|
<note>
|
|
2867
|
-
If the user want to unapply a class by it's name and not ID,
|
|
2867
|
+
If the user want to unapply a class by it's name and not ID, retrieve the id from the list, available at uri elementor://global-classes
|
|
2868
2868
|
</note>
|
|
2869
2869
|
`,
|
|
2870
2870
|
handler: async (params) => {
|
|
@@ -2888,7 +2888,7 @@ function initMcpApplyGetGlobalClassUsages(reg) {
|
|
|
2888
2888
|
usages: z2.array(
|
|
2889
2889
|
z2.object({
|
|
2890
2890
|
classId: z2.string().describe(
|
|
2891
|
-
'The ID of the class, not visible to the user. To
|
|
2891
|
+
'The ID of the class, not visible to the user. To retrieve the name of the class, use the "list-global-classes" tool'
|
|
2892
2892
|
),
|
|
2893
2893
|
usages: z2.array(
|
|
2894
2894
|
z2.object({
|
|
@@ -2907,13 +2907,13 @@ function initMcpApplyGetGlobalClassUsages(reg) {
|
|
|
2907
2907
|
intelligencePriority: 0.6,
|
|
2908
2908
|
speedPriority: 0.8
|
|
2909
2909
|
},
|
|
2910
|
-
description: `
|
|
2910
|
+
description: `Retrieve the usages of global-classes ACROSS PAGES designed by Elementor editor.
|
|
2911
2911
|
|
|
2912
|
-
##
|
|
2912
|
+
## Prerequisites: CRITICAL
|
|
2913
2913
|
- The list of global classes and their applid values is available at resource uri elementor://global-classes
|
|
2914
2914
|
|
|
2915
2915
|
## When to use this tool:
|
|
2916
|
-
- When a user requests to see where a specific global class is being used
|
|
2916
|
+
- When a user requests to see where a specific global class is being used across the site.
|
|
2917
2917
|
- When you need to manage or clean up unused global classes.
|
|
2918
2918
|
- Before deleting a global class, to ensure it is not in use in any other pages.
|
|
2919
2919
|
|