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 d36ee3ac0e14377910ff7d0a42bb19345da3c8be
parent c53af4b05af11a4905aa04fb3f35c7ec4db86323
Author: ebutler <e.c.butler@outlook.com>
Date:   Wed,  6 Oct 2021 09:29:11 -0400

removed toolbar event handler

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

diff --git a/src/striveneditor.js b/src/striveneditor.js @@ -488,9 +488,6 @@ export default class StrivenEditor { const toolbarTemplate = document.createElement('div'); toolbarTemplate.id = 'toolbar-template'; toolbarTemplate.setAttribute('style', 'display: flex'); - toolbarTemplate.addEventListener('click', (ev) => { - ev.stopImmediatePropagation(); - }); toolbarTemplate.appendChild(se.options.toolbarTemplate); toolbar.appendChild(toolbarTemplate);