Skip to content

Commit

Permalink
2.37.4
Browse files Browse the repository at this point in the history
  • Loading branch information
JiHong88 committed Apr 1, 2021
2 parents 39b2654 + 7620934 commit 29352f0
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "suneditor",
"version": "2.37.3",
"version": "2.37.4",
"description": "Pure JavaScript based WYSIWYG web editor",
"main": "src/suneditor.js",
"keywords": [
Expand Down
2 changes: 1 addition & 1 deletion dist/css/suneditor.min.css

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/suneditor.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"sideEffects": [
"./src/assets/css/*.css"
],
"version": "2.37.3",
"version": "2.37.4",
"description": "Pure JavaScript based WYSIWYG web editor",
"main": "src/suneditor.js",
"keywords": [
Expand Down
3 changes: 2 additions & 1 deletion src/assets/css/suneditor-contents.css
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
font-family: inherit;
font-size: inherit;
color: inherit;
white-space: normal !important;
}

/* RTL - editable */
Expand Down Expand Up @@ -97,7 +98,7 @@
background-color: #f9f9f9;
border: 1px solid #e1e1e1;
border-radius: 2px;
white-space: pre-wrap;
white-space: pre-wrap !important;
word-wrap: break-word;
overflow: visible;
}
Expand Down
2 changes: 1 addition & 1 deletion src/lib/core.js
Original file line number Diff line number Diff line change
Expand Up @@ -4703,7 +4703,7 @@ export default function (context, pluginCallButtons, plugins, lang, options, _re
if (v) {
for (let i = 0, len = v.length; i < len; i++) {
if (rowLevelCheck && /^class="(?!(__se__|se-|katex))/.test(v[i])) continue;
t += ' ' + (/^href\s*=\s*('|"|\s)*javascript\s*\:/.test(v[i]) ? '' : v[i]);
t += ' ' + (/^href\s*=\s*('|"|\s)*javascript\s*\:/i.test(v[i]) ? '' : v[i]);
}
}

Expand Down

0 comments on commit 29352f0

Please sign in to comment.