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 ec832c44a676021e4adceb825fe1562f0193f030
parent 05a55ccdd8c2039a4190718a5c97442b1e5bd8ac
Author: Henry Unite <unitehenry@gmail.com>
Date:   Mon, 14 Sep 2020 12:03:11 -0400

add se context to createFileElement

Diffstat:
Msrc/striveneditor.js | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/striveneditor.js b/src/striveneditor.js @@ -1693,6 +1693,8 @@ export default class StrivenEditor { * @param {Number} size Size of the file in bytes */ createFileElement(name, size) { + const se = this; + const fileEl = document.createElement('div'); const fileNameEl = document.createElement('p'); const fileSizeEl = document.createElement('p');