@ones-editor/editor 2.3.1-beta.1 → 2.3.1-beta.3

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.
package/dist/index.js CHANGED
@@ -73251,6 +73251,8 @@ ${codeText}
73251
73251
  });
73252
73252
  }
73253
73253
  const StyleTags = {
73254
+ i: "style-italic",
73255
+ b: "style-bold",
73254
73256
  u: "style-underline",
73255
73257
  strong: "style-bold",
73256
73258
  em: "style-italic",
@@ -75100,8 +75102,8 @@ ${content}
75100
75102
  const container = document.createElement("div");
75101
75103
  container.classList.add("highlight-text-wizdoc");
75102
75104
  const code = document.createElement("pre");
75105
+ code.textContent = base64;
75103
75106
  container.appendChild(code);
75104
- code.innerText = base64;
75105
75107
  node.insertAdjacentElement("beforebegin", container);
75106
75108
  node.remove();
75107
75109
  return;
@@ -90919,7 +90921,7 @@ ${data2.plantumlText}
90919
90921
  }
90920
90922
  }
90921
90923
  });
90922
- editor.version = "2.3.1-beta.1";
90924
+ editor.version = "2.3.1-beta.3";
90923
90925
  return editor;
90924
90926
  }
90925
90927
  function isDoc(doc2) {
@@ -91026,7 +91028,7 @@ ${data2.plantumlText}
91026
91028
  }
91027
91029
  });
91028
91030
  OnesEditorToolbar.register(editor);
91029
- editor.version = "2.3.1-beta.1";
91031
+ editor.version = "2.3.1-beta.3";
91030
91032
  return editor;
91031
91033
  }
91032
91034
  async function showDocVersions(editor, options, serverUrl) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ones-editor/editor",
3
- "version": "2.3.1-beta.1",
3
+ "version": "2.3.1-beta.3",
4
4
  "main": "./dist/index.js",
5
5
  "types": "./dist/index.d.ts",
6
6
  "dependencies": {
@@ -14,6 +14,7 @@
14
14
  "axios": "^1.2.6",
15
15
  "blueimp-md5": "^2.19.0",
16
16
  "buffer": "^6.0.3",
17
+ "chardet": "^2.0.0",
17
18
  "commander": "9.0.0",
18
19
  "css-color-converter": "^2.0.0",
19
20
  "docx": "^7.2.0",
@@ -24,6 +25,7 @@
24
25
  "fs-extra": "^11.2.0",
25
26
  "graphemer": "^1.4.0",
26
27
  "html-entities": "^2.0.6",
28
+ "iconv-lite": "^0.6.3",
27
29
  "image-size": "^1.0.0",
28
30
  "js-base64": "*",
29
31
  "jsdom": "^22.0.0",