Skip to content

Commit

Permalink
2.44.9
Browse files Browse the repository at this point in the history
  • Loading branch information
JiHong88 authored Apr 11, 2023
2 parents 2ac8daa + 4f5d48b commit 42a1224
Show file tree
Hide file tree
Showing 6 changed files with 158 additions and 111 deletions.
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
@@ -1,6 +1,6 @@
{
"name": "suneditor",
"version": "2.44.8",
"version": "2.44.9",
"description": "Pure JavaScript based WYSIWYG web editor",
"author": "JiHong.Lee",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion src/lib/constructor.js
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,7 @@ export default {
/** Layout */
options.mode = options.mode || 'classic'; // classic, inline, balloon, balloon-always
options.rtl = !!options.rtl;
options.lineAttrReset = typeof options.lineAttrReset === 'string' && options.lineAttrReset ? options.lineAttrReset.toLowerCase().split('|') : null;
options.lineAttrReset = ['id'].concat((options.lineAttrReset && typeof options.lineAttrReset === 'string' ? options.lineAttrReset.toLowerCase().split('|') : []));
options._editableClass = 'sun-editor-editable' + (options.rtl ? ' se-rtl' : '');
options._printClass = typeof options._printClass === 'string' ? options._printClass : null;
options.toolbarWidth = options.toolbarWidth ? (util.isNumber(options.toolbarWidth) ? options.toolbarWidth + 'px' : options.toolbarWidth) : 'auto';
Expand Down
Loading

0 comments on commit 42a1224

Please sign in to comment.