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 992f58d6a101addbe7c5f0f8668e70c95e56ce49
parent 5392c2b2a09a8b18c0326ccd9fc87acba2718006
Author: unitehenry <unitehenry@gmail.com>
Date:   Tue, 26 Nov 2019 09:49:44 -0500

uppercase extensions

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

diff --git a/src/striveneditor.js b/src/striveneditor.js @@ -1176,7 +1176,7 @@ export default class StrivenEditor { } validateFile(file) { - const extension = (file && file.name.split('.').pop()); + const extension = (file && file.name.split('.').pop().toLowerCase()); if (extension) { return this.options.extensions.includes(`.${extension}`); } else {