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 34b0d2390c6263104d807d19e62fa902a0147e6f
parent d94f41b254990cfb300424757c2b41f7354d30f7
Author: Sanjog Sharma <sanjogsharma@gmail.com>
Date:   Fri,  2 Jul 2021 01:31:42 +0545

toolbar css fix for firefox

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

diff --git a/src/striveneditor.css b/src/striveneditor.css @@ -98,7 +98,7 @@ display: flex; justify-content: space-between; flex-wrap: wrap; - height: 40px; + min-height: 46px; transition: height 200ms; } diff --git a/src/striveneditor.js b/src/striveneditor.js @@ -404,7 +404,6 @@ export default class StrivenEditor { toolbar.onclick = () => { se.body.focus(); - console.log('focusing body back') }; // Append Font Options @@ -1995,7 +1994,7 @@ export default class StrivenEditor { function setResponsive() { let responsive = window.matchMedia('(max-width: 700px)').matches; - responsiveGroups(responsive || se.editor.offsetWidth < 1000); + responsiveGroups(responsive || se.editor.offsetWidth < 1100); } setResponsive();