@8btc/mditor 0.0.31 → 0.0.33

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.css CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Vditor v0.0.31 - A markdown editor written in TypeScript.
2
+ * Vditor v0.0.33 - A markdown editor written in TypeScript.
3
3
  *
4
4
  * MIT License
5
5
  *
@@ -25,7 +25,7 @@
25
25
  *
26
26
  */
27
27
  /*!
28
- * Vditor v0.0.31 - A markdown editor written in TypeScript.
28
+ * Vditor v0.0.33 - A markdown editor written in TypeScript.
29
29
  *
30
30
  * MIT License
31
31
  *
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Vditor v0.0.31 - A markdown editor written in TypeScript.
2
+ * Vditor v0.0.33 - A markdown editor written in TypeScript.
3
3
  *
4
4
  * MIT License
5
5
  *
@@ -2923,7 +2923,7 @@ var Vditor = /** @class */ (function () {
2923
2923
  /* harmony export */ "H": () => (/* binding */ _VDITOR_VERSION),
2924
2924
  /* harmony export */ "g": () => (/* binding */ Constants)
2925
2925
  /* harmony export */ });
2926
- var _VDITOR_VERSION = "0.0.31";
2926
+ var _VDITOR_VERSION = "0.0.33";
2927
2927
 
2928
2928
  var Constants = /** @class */ (function () {
2929
2929
  function Constants() {
@@ -3225,7 +3225,7 @@ var Constants = /** @class */ (function () {
3225
3225
  "c#",
3226
3226
  "bat",
3227
3227
  ];
3228
- Constants.CDN = "https://webcdn.wujieai.com/vditor@".concat("0.0.31");
3228
+ Constants.CDN = "https://webcdn.wujieai.com/vditor@".concat("0.0.33");
3229
3229
  Constants.MARKDOWN_OPTIONS = {
3230
3230
  autoSpace: false,
3231
3231
  gfmAutoLink: true,
@@ -5619,7 +5619,8 @@ var mathRender = function (element, options) {
5619
5619
  }
5620
5620
  startup.document.clear();
5621
5621
  startup.document.updateDocument();
5622
- startup.elements = prevElements !== undefined ? prevElements : [];
5622
+ startup.elements =
5623
+ prevElements !== undefined ? prevElements : [];
5623
5624
  var errorTextElement = node.querySelector('[data-mml-node="merror"]');
5624
5625
  if (errorTextElement &&
5625
5626
  errorTextElement.textContent.trim() !== "") {