@wangeditor-next/plugin-formula 0.0.12-beta.5 → 0.0.12-beta.6

Sign up to get free protection for your applications and to get access to all the features.
package/dist/index.js CHANGED
@@ -104,8 +104,6 @@
104
104
  Object.setPrototypeOf(HTMLElement, BuiltInHTMLElement);
105
105
  }());
106
106
 
107
- var katexStyleContent = undefined;
108
-
109
107
  /**
110
108
  * @description 注册自定义 elem
111
109
  * @author wangfupeng
@@ -116,9 +114,6 @@
116
114
  var _this = _super.call(this) || this;
117
115
  var shadow = _this.attachShadow({ mode: 'open' });
118
116
  var document = shadow.ownerDocument;
119
- var style = document.createElement('style');
120
- style.innerHTML = katexStyleContent; // 加载 css 文本
121
- shadow.appendChild(style);
122
117
  var span = document.createElement('span');
123
118
  span.style.display = 'inline-block';
124
119
  shadow.appendChild(span);
package/dist/index.mjs CHANGED
@@ -102,8 +102,6 @@ typeof SuppressedError === "function" ? SuppressedError : function (error, suppr
102
102
  Object.setPrototypeOf(HTMLElement, BuiltInHTMLElement);
103
103
  }());
104
104
 
105
- var katexStyleContent = undefined;
106
-
107
105
  /**
108
106
  * @description 注册自定义 elem
109
107
  * @author wangfupeng
@@ -114,9 +112,6 @@ var WangEditorFormulaCard = /** @class */ (function (_super) {
114
112
  var _this = _super.call(this) || this;
115
113
  var shadow = _this.attachShadow({ mode: 'open' });
116
114
  var document = shadow.ownerDocument;
117
- var style = document.createElement('style');
118
- style.innerHTML = katexStyleContent; // 加载 css 文本
119
- shadow.appendChild(style);
120
115
  var span = document.createElement('span');
121
116
  span.style.display = 'inline-block';
122
117
  shadow.appendChild(span);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wangeditor-next/plugin-formula",
3
- "version": "0.0.12-beta.5",
3
+ "version": "0.0.12-beta.6",
4
4
  "description": "wangEditor next formula 公式",
5
5
  "author": "cycleccc <2991205548@qq.com>",
6
6
  "type": "module",