@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 +1 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +20 -20
- package/src/save-global-classes.tsx +3 -0
package/dist/index.mjs
CHANGED
|
@@ -901,6 +901,7 @@ async function saveGlobalClasses({ context: context2, onApprove }) {
|
|
|
901
901
|
changes: calculateChanges(state, currentContext(getState3()))
|
|
902
902
|
});
|
|
903
903
|
dispatch2(slice.actions.reset({ context: context2 }));
|
|
904
|
+
window.dispatchEvent(new CustomEvent("classes:updated", { detail: { context: context2 } }));
|
|
904
905
|
if (response?.data?.data?.code === API_ERROR_CODES.DUPLICATED_LABEL) {
|
|
905
906
|
dispatch2(slice.actions.updateMultiple(response.data.data.modifiedLabels));
|
|
906
907
|
trackGlobalClasses({
|