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 5436542f98a5a73bc945215fcea62dd26947e189
parent fc31763e35122e7acbc8dd25004fedb0e94d8163
Author: Carlos Núñez <chamar@gmail.com>
Date:   Fri, 18 Oct 2019 00:43:48 +0200

closes #42 do not show #toolbar-removeFormat option when toolbar is set to minimal

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

diff --git a/src/striveneditor.js b/src/striveneditor.js @@ -1004,6 +1004,7 @@ export default class StrivenEditor { this.toolbar.querySelector("#toolbar-insertOrderedList").style.display = "none"; this.toolbar.querySelector("#group-textAlign").style.display = "none"; + this.toolbar.querySelector("#toolbar-removeFormat").style.display = "none"; } } @@ -1208,4 +1209,4 @@ export default class StrivenEditor { // Blink engine detection this.isBlink = (this.isChrome || this.isOpera) && !!window.CSS; } -} -\ No newline at end of file +}