jodit-pro-react 5.5.32 → 5.5.33
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.
|
@@ -193,7 +193,7 @@ var APP_VERSION, ES, IS_ES_MODERN, IS_ES_NEXT, IS_PROD, IS_TEST, FAT_MODE, HOMEP
|
|
|
193
193
|
var init_constants = __esm({
|
|
194
194
|
"node_modules/jodit/esm/core/constants.js"() {
|
|
195
195
|
"use strict";
|
|
196
|
-
APP_VERSION = "4.12.
|
|
196
|
+
APP_VERSION = "4.12.13";
|
|
197
197
|
ES = "es2020";
|
|
198
198
|
IS_ES_MODERN = true;
|
|
199
199
|
IS_ES_NEXT = true;
|
|
@@ -19072,6 +19072,11 @@ function checkJoinNeighbors(jodit, fakeNode, backspace2) {
|
|
|
19072
19072
|
}
|
|
19073
19073
|
if (Dom.isElement(mainClosestBox) && Dom.isContentEditable(mainClosestBox, jodit.editor)) {
|
|
19074
19074
|
const sibling = Dom.findNotEmptySibling(mainClosestBox, backspace2);
|
|
19075
|
+
if (Dom.isTag(sibling, "br")) {
|
|
19076
|
+
Dom.safeRemove(sibling);
|
|
19077
|
+
jodit.s.setCursorBefore(fakeNode);
|
|
19078
|
+
return true;
|
|
19079
|
+
}
|
|
19075
19080
|
if (sibling && (checkMoveListContent(jodit, mainClosestBox, sibling, backspace2) || moveContentAndRemoveEmpty(jodit, mainClosestBox, sibling, backspace2))) {
|
|
19076
19081
|
jodit.s.setCursorBefore(fakeNode);
|
|
19077
19082
|
return true;
|