jodit-pro-react 5.5.64 → 5.5.65

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-LIIC3OLB.mjs";
3
+ } from "./chunk-YGPPQT4E.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.5";
196
+ APP_VERSION = "4.13.6";
197
197
  ES = "es2020";
198
198
  IS_ES_MODERN = true;
199
199
  IS_ES_NEXT = true;
@@ -15969,7 +15969,8 @@ var ToolbarButton = class ToolbarButton2 extends UIButton {
15969
15969
  button2.classList.remove(cn);
15970
15970
  button2.classList.add(cn + "__button");
15971
15971
  Object.defineProperty(button2, "component", {
15972
- value: this
15972
+ value: this,
15973
+ configurable: true
15973
15974
  });
15974
15975
  container.appendChild(button2);
15975
15976
  const trigger = this.j.c.fromHTML(`<span role="button" aria-haspopup="true" aria-expanded="false" class="${cn}__trigger">${Icon.get("chevron")}</span>`);
@@ -20649,11 +20650,12 @@ function tryRemoveNode(jodit, nodeElm, hadEffect, allowTags, denyTags, currentSe
20649
20650
  }
20650
20651
  function isRemovableNode(jodit, node, current, allow, deny) {
20651
20652
  if (!Dom.isText(node)) {
20652
- if (allow && !allow[node.nodeName]) {
20653
+ const name = node.nodeName.toUpperCase();
20654
+ if (allow && !allow[name]) {
20653
20655
  return true;
20654
20656
  }
20655
- const isTrustedEmbed = node.nodeName === "IFRAME" && isAllowedMediaEmbed(attr(node, "src") || "");
20656
- if (!allow && deny && deny[node.nodeName] && !isTrustedEmbed) {
20657
+ const isTrustedEmbed = name === "IFRAME" && isAllowedMediaEmbed(attr(node, "src") || "");
20658
+ if (!allow && deny && deny[name] && !isTrustedEmbed) {
20657
20659
  return true;
20658
20660
  }
20659
20661
  }
@@ -2,7 +2,7 @@ import {
2
2
  Config,
3
3
  JoditEditor_default,
4
4
  n
5
- } from "./chunk-LIIC3OLB.mjs";
5
+ } from "./chunk-YGPPQT4E.mjs";
6
6
 
7
7
  // src/index.ts
8
8
  var index_default = JoditEditor_default;