Skip to content

Commit 9799bc7

Browse files
committed
Merge remote-tracking branch 'origin/master' into release
2 parents e2d00e5 + 4772550 commit 9799bc7

File tree

4 files changed

+7
-6
lines changed

4 files changed

+7
-6
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# SunEditor
2-
Pure javscript based WYSIWYG web editor, with no dependencies
2+
Vanilla javascript based WYSIWYG web editor, with no dependencies.
3+
SunEditor supports IE11 and all modern browsers with no dependencies and polyfill.
34

45
#### Demo : <a href="http://suneditor.com" target="_blank">suneditor.com</a>
56

dist/suneditor.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "suneditor",
3-
"version": "2.45.0",
4-
"description": "Pure JavaScript based WYSIWYG web editor",
3+
"version": "2.45.1",
4+
"description": "Vanilla javascript based WYSIWYG web editor, with no dependencies",
55
"author": "JiHong.Lee",
66
"license": "MIT",
77
"main": "src/suneditor.js",

src/lib/core.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6073,7 +6073,7 @@ export default function (context, pluginCallButtons, plugins, lang, options, _re
60736073
* @private
60746074
*/
60756075
_initWysiwygArea: function (reload, _initHTML) {
6076-
context.element.wysiwyg.innerHTML = reload ? _initHTML : this.convertContentsForEditor((typeof _initHTML === 'string' ? _initHTML : /TEXTAREA/i.test(context.element.originElement) ? context.element.originElement.value : context.element.originElement.innerHTML) || '');
6076+
context.element.wysiwyg.innerHTML = reload ? _initHTML : this.convertContentsForEditor((typeof _initHTML === 'string' ? _initHTML : /^TEXTAREA$/i.test(context.element.originElement.nodeName) ? context.element.originElement.value : context.element.originElement.innerHTML) || '');
60776077
},
60786078

60796079
/**

0 commit comments

Comments
 (0)