jodit-pro-react 5.5.34 → 5.5.35
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.16";
|
|
197
197
|
ES = "es2020";
|
|
198
198
|
IS_ES_MODERN = true;
|
|
199
199
|
IS_ES_NEXT = true;
|
|
@@ -7010,6 +7010,9 @@ function removeExtraBr(jodit, node) {
|
|
|
7010
7010
|
if (!Dom.isTag(br, "br")) {
|
|
7011
7011
|
return;
|
|
7012
7012
|
}
|
|
7013
|
+
if (Dom.findNotEmptySibling(br, false)) {
|
|
7014
|
+
return;
|
|
7015
|
+
}
|
|
7013
7016
|
jodit.s.setCursorBefore(br);
|
|
7014
7017
|
Dom.safeRemove(br);
|
|
7015
7018
|
}
|