@elementor/editor-global-classes 4.1.0-691 → 4.1.0-693

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
@@ -894,6 +894,7 @@ async function saveGlobalClasses({ context: context2, onApprove }) {
894
894
  changes: calculateChanges(state, currentContext((0, import_store12.__getState)()))
895
895
  });
896
896
  (0, import_store12.__dispatch)(slice.actions.reset({ context: context2 }));
897
+ window.dispatchEvent(new CustomEvent("classes:updated", { detail: { context: context2 } }));
897
898
  if (response?.data?.data?.code === API_ERROR_CODES.DUPLICATED_LABEL) {
898
899
  (0, import_store12.__dispatch)(slice.actions.updateMultiple(response.data.data.modifiedLabels));
899
900
  trackGlobalClasses({