suneditor 3.0.0-alpha.13 → 3.0.0-alpha.14

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "suneditor",
3
- "version": "3.0.0-alpha.13",
3
+ "version": "3.0.0-alpha.14",
4
4
  "description": "Vanilla javascript based WYSIWYG web editor",
5
5
  "author": "Yi JiHong",
6
6
  "license": "MIT",
@@ -70,6 +70,7 @@
70
70
  "mathjax-full": "^3.2.2",
71
71
  "mini-css-extract-plugin": "^2.7.6",
72
72
  "prettier": "^2.8.8",
73
+ "terser-webpack-plugin": "^5.3.10",
73
74
  "url-loader": "^4.1.1",
74
75
  "webpack": "^5.84.1",
75
76
  "webpack-cli": "^5.1.1",
@@ -980,11 +980,6 @@ Editor.prototype = {
980
980
  /** remove event listeners */
981
981
  this.eventManager._removeAllEvents();
982
982
 
983
- /** destroy external library */
984
- if (this.options.get('codeMirror6Editor')) {
985
- this.options.get('codeMirror6Editor').destroy();
986
- }
987
-
988
983
  /** remove element */
989
984
  domUtils.removeItem(this.carrierWrapper);
990
985
  domUtils.removeItem(this.context.get('toolbar._wrapper'));