striven-editor

Maintained and contributed to an open source WYSIWYG editor as an internship project that made it to production and was adopted by the company I was working at.
git clone https://unitehenry.com/git/striven-editor.git
Log | Files | Refs | README | LICENSE

commit 39d8f6a669fab2ee5678a1f2c55639a4c684b1a3
parent 8c243a223fafbe9b6f0c79591da71a97b6469e7a
Author: unitehenry <unitehenry@gmail.com>
Date:   Fri, 15 Nov 2019 08:32:22 -0500

null check setContent

Diffstat:
Msrc/striveneditor.js | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/striveneditor.js b/src/striveneditor.js @@ -1227,7 +1227,7 @@ export default class StrivenEditor { setContent(html) { this.clearContent(); - html && this.body.innerHTML = html; + html && (this.body.innerHTML = html); } setRange(range) {