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 eec24740f35162c78aae19b2c29bcd98bee35d3f
parent 4fa9aa986e857b946ca16553d104bb4716bbe944
Author: unitehenry <unitehenry@gmail.com>
Date:   Thu, 22 Oct 2020 15:04:59 -0400

change option before remove

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

diff --git a/src/striveneditor.js b/src/striveneditor.js @@ -2916,7 +2916,6 @@ export default class StrivenEditor { } - linkOptions.append(removeOption); const changeOption = document.createElement('span'); changeOption.textContent = 'Change'; @@ -2934,7 +2933,8 @@ export default class StrivenEditor { } linkOptions.append(changeOption); - + linkOptions.append(removeOption); + const optionHandler = () => { try { const r = se.getRange();