Skip to content

Commit

Permalink
version fix: 2.37.2
Browse files Browse the repository at this point in the history
  • Loading branch information
JiHong88 committed Mar 29, 2021
1 parent 342344e commit 3a036bd
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 @@ -7730,7 +7730,7 @@ export default function (context, pluginCallButtons, plugins, lang, options, _re

let c, a, t, prev, firstCon;
while ((c = domTree[0])) {
if (prev && prev.nodeType === 3 && util.isBreak(c)) {
if (prev && prev.nodeType === 3 && a && a.nodeType === 1 && util.isBreak(c)) {
prev = c;
util.removeItem(c);
continue;
Expand Down

0 comments on commit 3a036bd

Please sign in to comment.