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.
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  JoditEditor_default
3
- } from "./chunk-JFMOU3QL.mjs";
3
+ } from "./chunk-6JRHXOBO.mjs";
4
4
  export {
5
5
  JoditEditor_default as default
6
6
  };
@@ -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.15";
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
  }
@@ -2,7 +2,7 @@ import {
2
2
  Config,
3
3
  JoditEditor_default,
4
4
  n
5
- } from "./chunk-JFMOU3QL.mjs";
5
+ } from "./chunk-6JRHXOBO.mjs";
6
6
 
7
7
  // src/index.ts
8
8
  var index_default = JoditEditor_default;