jodit-pro-react 5.5.90 → 5.5.91

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-G2L76KNB.mjs";
3
+ } from "./chunk-UB64A3HC.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.13.26";
196
+ APP_VERSION = "4.13.27";
197
197
  ES = "es2020";
198
198
  IS_ES_MODERN = true;
199
199
  IS_ES_NEXT = true;
@@ -17347,6 +17347,7 @@ function getSuitChild(style, font2) {
17347
17347
  // node_modules/jodit/esm/core/selection/style/api/get-suit-parent.js
17348
17348
  init_dom();
17349
17349
  function getSuitParent(style, node, root) {
17350
+ var _a2;
17350
17351
  const { parentNode } = node;
17351
17352
  if (parentNode === root || !Dom.isHTMLElement(parentNode) || Dom.next(node, isNormalNode, parentNode) || Dom.prev(node, isNormalNode, parentNode)) {
17352
17353
  return null;
@@ -17354,6 +17355,9 @@ function getSuitParent(style, node, root) {
17354
17355
  if (style.isElementCommit && style.elementIsBlock && !Dom.isBlock(parentNode)) {
17355
17356
  return getSuitParent(style, parentNode, root);
17356
17357
  }
17358
+ if (Dom.isTag(parentNode, "li") && !style.isElementCommit && ((_a2 = style.options.attributes) === null || _a2 === void 0 ? void 0 : _a2.style)) {
17359
+ return parentNode;
17360
+ }
17357
17361
  if (isSuitElement(style, parentNode, false) && (!Dom.isBlock(parentNode) || style.elementIsBlock)) {
17358
17362
  return parentNode;
17359
17363
  }
@@ -2,7 +2,7 @@ import {
2
2
  Config,
3
3
  JoditEditor_default,
4
4
  n
5
- } from "./chunk-G2L76KNB.mjs";
5
+ } from "./chunk-UB64A3HC.mjs";
6
6
 
7
7
  // src/index.ts
8
8
  var index_default = JoditEditor_default;