easy-email-pro-theme 1.51.4 → 1.51.5
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 +4 -11
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -16090,7 +16090,8 @@ const FontSize$2 = () => {
|
|
|
16090
16090
|
match: (node) => {
|
|
16091
16091
|
return Text$2.isText(node);
|
|
16092
16092
|
},
|
|
16093
|
-
mode: "lowest"
|
|
16093
|
+
mode: "lowest",
|
|
16094
|
+
voids: true
|
|
16094
16095
|
});
|
|
16095
16096
|
if (!nodeEntry) {
|
|
16096
16097
|
const [mergetagNodeEntry] = Editor.nodes(editor, {
|
|
@@ -16184,21 +16185,13 @@ const FontFamily$2 = () => {
|
|
|
16184
16185
|
const editor = useSlate();
|
|
16185
16186
|
const { setFieldValue } = useEditorContext();
|
|
16186
16187
|
const [fontFamilyValue, setFontFamilyValue] = useState();
|
|
16187
|
-
|
|
16188
|
+
const [nodeEntry] = Editor.nodes(editor, {
|
|
16188
16189
|
match: (node) => {
|
|
16189
16190
|
return Text$2.isText(node);
|
|
16190
16191
|
},
|
|
16192
|
+
voids: true,
|
|
16191
16193
|
mode: "lowest"
|
|
16192
16194
|
});
|
|
16193
|
-
if (!nodeEntry) {
|
|
16194
|
-
const [mergetagNodeEntry] = Editor.nodes(editor, {
|
|
16195
|
-
match: (node) => {
|
|
16196
|
-
return NodeUtils.isMergetagElement(node);
|
|
16197
|
-
},
|
|
16198
|
-
mode: "lowest"
|
|
16199
|
-
});
|
|
16200
|
-
nodeEntry = mergetagNodeEntry;
|
|
16201
|
-
}
|
|
16202
16195
|
const textNode = nodeEntry == null ? void 0 : nodeEntry[0];
|
|
16203
16196
|
useEffect(() => {
|
|
16204
16197
|
var _a;
|