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 a099e1aee6817e583f737664eaa9e7e31589f9b3
parent 831e38831160c1510b40edc0933e1b420cd5972d
Author: sanjogs <sanjogsharma@gmail.com>
Date:   Wed,  1 Mar 2023 14:33:38 -0500

restricted user select on the toolbar group menus. Fixes #155

Diffstat:
Msrc/striveneditor.css | 1+
Msrc/striveneditor.js | 3---
2 files changed, 1 insertion(+), 3 deletions(-)

diff --git a/src/striveneditor.css b/src/striveneditor.css @@ -315,6 +315,7 @@ padding: 4px 7px; cursor: pointer; align-items: center; + user-select: none; } .striven-editor .se-toolbar-menu:hover { diff --git a/src/striveneditor.js b/src/striveneditor.js @@ -1969,9 +1969,6 @@ export default class StrivenEditor { } if (menu) { - // menu.style.padding = '0 10px'; - menu.style.cursor = 'pointer'; - menu.style.userSelect = 'none'; menu.style.display = isResponsive ? 'flex' : 'none'; menu.onclick = e => {