@elementor/editor-editing-panel 4.2.0-895 → 4.2.0-897
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 +4 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +24 -24
- package/src/apply-unapply-actions.ts +4 -1
package/dist/index.js
CHANGED
|
@@ -701,7 +701,10 @@ function ensureClassesAreLoaded(classIds) {
|
|
|
701
701
|
const owningProvider = providers.find(
|
|
702
702
|
(provider) => provider.actions.all().some((style) => style.id === classId)
|
|
703
703
|
);
|
|
704
|
-
|
|
704
|
+
try {
|
|
705
|
+
owningProvider?.actions.get(classId);
|
|
706
|
+
} catch {
|
|
707
|
+
}
|
|
705
708
|
});
|
|
706
709
|
}
|
|
707
710
|
function doUnapplyClass(elementId, classId, classesPropType = "classes") {
|