suneditor 2.46.1 → 2.46.2

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": "2.46.1",
3
+ "version": "2.46.2",
4
4
  "description": "Vanilla javascript based WYSIWYG web editor, with no dependencies",
5
5
  "author": "JiHong.Lee",
6
6
  "license": "MIT",
@@ -29,31 +29,30 @@
29
29
  "bower_components"
30
30
  ],
31
31
  "devDependencies": {
32
- "@babel/core": "^7.21.3",
33
- "@octokit/rest": "^20.1.0",
34
- "@webpack-cli/init": "^1.1.3",
35
- "babel-loader": "^8.1.0",
36
- "clean-webpack-plugin": "^0.1.19",
37
- "codemirror": "^5.61.0",
38
- "css-loader": "^1.0.1",
39
- "csstype": "^2.6.13",
40
- "dotenv": "^16.4.5",
41
- "file-loader": "^2.0.0",
42
- "html-webpack-plugin": "^3.2.0",
43
- "jasmine": "^2.99.0",
44
- "jasmine-core": "^2.99.1",
45
- "jshint": "^2.13.4",
46
- "karma": "^6.3.19",
47
- "karma-chrome-launcher": "^2.2.0",
48
- "karma-jasmine": "^1.1.2",
49
- "katex": "^0.16.10",
50
- "mini-css-extract-plugin": "^0.4.5",
51
- "optimize-css-assets-webpack-plugin": "^5.0.4",
52
- "url-loader": "^1.1.2",
53
- "webpack": "^4.44.1",
54
- "webpack-cli": "^3.3.12",
55
- "webpack-dev-server": "^3.11.0",
56
- "webpack-merge": "^4.2.2"
32
+ "@babel/core": "~7.21.3",
33
+ "@octokit/rest": "~20.1.0",
34
+ "@webpack-cli/init": "~1.1.3",
35
+ "babel-loader": "~8.1.0",
36
+ "clean-webpack-plugin": "~0.1.19",
37
+ "codemirror": "~5.61.0",
38
+ "css-loader": "~1.0.1",
39
+ "csstype": "~2.6.13",
40
+ "file-loader": "~2.0.0",
41
+ "html-webpack-plugin": "~3.2.0",
42
+ "jasmine": "~2.99.0",
43
+ "jasmine-core": "~2.99.1",
44
+ "jshint": "~2.13.4",
45
+ "karma": "~6.3.19",
46
+ "karma-chrome-launcher": "~2.2.0",
47
+ "karma-jasmine": "~1.1.2",
48
+ "katex": "~0.16.10",
49
+ "mini-css-extract-plugin": "~0.4.5",
50
+ "optimize-css-assets-webpack-plugin": "~5.0.4",
51
+ "url-loader": "~1.1.2",
52
+ "webpack": "~4.44.1",
53
+ "webpack-cli": "~3.3.12",
54
+ "webpack-dev-server": "~3.11.0",
55
+ "webpack-merge": "~4.2.2"
57
56
  },
58
57
  "keywords": [
59
58
  "wysiwyg",
package/src/lib/core.js CHANGED
@@ -477,7 +477,7 @@ export default function (context, pluginCallButtons, plugins, lang, options, _re
477
477
  _cleanStyleRegExp: {
478
478
  div: new _w.RegExp('\\s*[^-a-zA-Z](.+)\\s*:[^;]+(?!;)*', 'ig'),
479
479
  span: new _w.RegExp('\\s*[^-a-zA-Z](font-family|font-size|color|background-color)\\s*:[^;]+(?!;)*', 'ig'),
480
- format: new _w.RegExp('\\s*[^-a-zA-Z](text-align|margin-left|margin-right|width|height)\\s*:[^;]+(?!;)*', 'ig'),
480
+ format: new _w.RegExp('\\s*[^-a-zA-Z](text-align|margin-left|margin-right|width|height|line-height)\\s*:[^;]+(?!;)*', 'ig'),
481
481
  fontSizeUnit: new _w.RegExp('\\d+' + options.fontSizeUnit + '$', 'i'),
482
482
  },
483
483