easy-email-pro-theme 1.12.3 → 1.12.4
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/lib/index.js +2 -0
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -20130,6 +20130,8 @@ function AttributesContainer$4({
|
|
|
20130
20130
|
const spacingName = mode === ActiveTabKeys.DESKTOP ? "attributes.spacing" : "mobileAttributes.spacing";
|
|
20131
20131
|
const spacing = getFieldValue(nodePath, spacingName);
|
|
20132
20132
|
useEffect(() => {
|
|
20133
|
+
if (!spacing)
|
|
20134
|
+
return;
|
|
20133
20135
|
HistoryEditor.withoutSaving(editor, () => {
|
|
20134
20136
|
Editor.withoutNormalizing(editor, () => {
|
|
20135
20137
|
selectedNode == null ? void 0 : selectedNode.children.forEach((child, index2) => {
|