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 a51be5bba015a0e08bf42c76da4fd1fa6e8ffa40
parent 2a41dcf49681a1dc9197114cd449d30aeb0bf7d6
Author: unitehenry <unitehenry@gmail.com>
Date:   Wed, 28 Oct 2020 10:21:57 -0400

quality assurance of link edit

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

diff --git a/src/striveneditor.js b/src/striveneditor.js @@ -1480,7 +1480,7 @@ export default class StrivenEditor { }; inp.onblur = () => { - setTimeout(() => se.clearLinksToEdit(), 100); + setTimeout(() => se.clearLinksToEdit(), 200); }; }); @@ -2499,6 +2499,7 @@ export default class StrivenEditor { const popups = se.editor.getElementsByClassName('se-popup'); [...popups].forEach(popup => { popup.classList.remove('se-popup-open'); + popup.dataset.active = 'false'; if (popup.submitEvt) { window.removeEventListener('keyup', popup.submitEvt); @@ -3324,7 +3325,7 @@ export default class StrivenEditor { } } - + debugger const r = se.getRange(); if(r) {