easy-email-pro-editor 1.50.8 → 1.50.10
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 +5 -4
- package/lib/typings/typings/index.d.ts +1 -0
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -14578,7 +14578,7 @@ const TD = () => {
|
|
|
14578
14578
|
}, e.insertBreak = () => {
|
|
14579
14579
|
const b = me.above(e, {
|
|
14580
14580
|
match(x, w) {
|
|
14581
|
-
return W.
|
|
14581
|
+
return W.isContentElement(x);
|
|
14582
14582
|
},
|
|
14583
14583
|
mode: "lowest"
|
|
14584
14584
|
});
|
|
@@ -14599,10 +14599,11 @@ const TD = () => {
|
|
|
14599
14599
|
attributes: {}
|
|
14600
14600
|
},
|
|
14601
14601
|
{
|
|
14602
|
-
|
|
14602
|
+
at: b[1],
|
|
14603
14603
|
match(w, Q) {
|
|
14604
|
-
return
|
|
14605
|
-
}
|
|
14604
|
+
return W.isTextNode(w) || W.isInlineElement(w);
|
|
14605
|
+
},
|
|
14606
|
+
mode: "highest"
|
|
14606
14607
|
}
|
|
14607
14608
|
), c();
|
|
14608
14609
|
return;
|
|
@@ -96,6 +96,7 @@ export interface BasicEditorProps extends Partial<Pick<EditableProps, "onDOMBefo
|
|
|
96
96
|
showPreviousLevelIcon?: boolean;
|
|
97
97
|
showBlockPaths?: boolean;
|
|
98
98
|
loadingElement?: React.ReactNode;
|
|
99
|
+
enabledHtmlBlockNodeAlign?: boolean;
|
|
99
100
|
handleUploadClick?: ({ onChange, accept, }: {
|
|
100
101
|
onChange: (url: string) => void;
|
|
101
102
|
accept?: string;
|