Skip to content

Commit

Permalink
2.44.8
Browse files Browse the repository at this point in the history
  • Loading branch information
JiHong88 authored Apr 9, 2023
2 parents 867c8c7 + f33f49c commit 01ac062
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions dist/suneditor.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/lib/core.js
Original file line number Diff line number Diff line change
Expand Up @@ -5262,7 +5262,7 @@ export default function (context, pluginCallButtons, plugins, lang, options, _re
if (style) {
const allowedStyle = [];
for (let i = 0, len = style.length, r; i < len; i++) {
r = style[i].match(/([a-zA-Z0-9-]+)(:)([^:]+$)/);
r = style[i].match(/([a-zA-Z0-9-]+)(:)([^"]+)/);
if (r && !/inherit|initial|revert|unset/i.test(r[3])) {
const k = util.kebabToCamelCase(r[1].trim());
const v = this.wwComputedStyle[k].replace(/"/g, '');
Expand Down

0 comments on commit 01ac062

Please sign in to comment.