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 e9a62da0962ec2ce9783736912e321ecd493935c
parent a8f0316eafb1e8aad9b09384cf606170b8f9c90f
Author: Eric Butler <ebutler@striven.com>
Date:   Mon, 10 Mar 2025 09:09:02 -0400

increase timeout for overflow detection

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

diff --git a/src/striveneditor.js b/src/striveneditor.js @@ -3443,11 +3443,12 @@ export default class StrivenEditor { // Add the resolve to the end of the promise chain p.then(() => { resolve(); - // Check image overflow - setTimeout(() => se.overflow(), 100); // Remove busy class se.editor.classList.remove('se-image-uploading'); se._isImageUploading = false; + + // Check image overflow + setTimeout(() => se.overflow(), 500); }); }); }