@elementor/editor-global-classes 4.1.0-828 → 4.1.0-829
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
|
@@ -2807,7 +2807,7 @@ function initMcpApplyUnapplyGlobalClasses(server) {
|
|
|
2807
2807
|
- Make sure you have the correct class ID that you want to unapply.
|
|
2808
2808
|
|
|
2809
2809
|
<note>
|
|
2810
|
-
If the user want to unapply a class by it's name and not ID,
|
|
2810
|
+
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
|
|
2811
2811
|
</note>
|
|
2812
2812
|
`,
|
|
2813
2813
|
handler: async (params) => {
|
|
@@ -2831,7 +2831,7 @@ function initMcpApplyGetGlobalClassUsages(reg) {
|
|
|
2831
2831
|
usages: import_schema2.z.array(
|
|
2832
2832
|
import_schema2.z.object({
|
|
2833
2833
|
classId: import_schema2.z.string().describe(
|
|
2834
|
-
'The ID of the class, not visible to the user. To
|
|
2834
|
+
'The ID of the class, not visible to the user. To retrieve the name of the class, use the "list-global-classes" tool'
|
|
2835
2835
|
),
|
|
2836
2836
|
usages: import_schema2.z.array(
|
|
2837
2837
|
import_schema2.z.object({
|
|
@@ -2850,13 +2850,13 @@ function initMcpApplyGetGlobalClassUsages(reg) {
|
|
|
2850
2850
|
intelligencePriority: 0.6,
|
|
2851
2851
|
speedPriority: 0.8
|
|
2852
2852
|
},
|
|
2853
|
-
description: `
|
|
2853
|
+
description: `Retrieve the usages of global-classes ACROSS PAGES designed by Elementor editor.
|
|
2854
2854
|
|
|
2855
|
-
##
|
|
2855
|
+
## Prerequisites: CRITICAL
|
|
2856
2856
|
- The list of global classes and their applid values is available at resource uri elementor://global-classes
|
|
2857
2857
|
|
|
2858
2858
|
## When to use this tool:
|
|
2859
|
-
- When a user requests to see where a specific global class is being used
|
|
2859
|
+
- When a user requests to see where a specific global class is being used across the site.
|
|
2860
2860
|
- When you need to manage or clean up unused global classes.
|
|
2861
2861
|
- Before deleting a global class, to ensure it is not in use in any other pages.
|
|
2862
2862
|
|