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 63d091362c7cdd9c11041c89cb4326289798922b
parent 952074855c717310ba59ba8767c73962f82f4637
Author: Henry Unite <unitehenry@gmail.com>
Date:   Mon,  7 Sep 2020 14:18:55 -0400

remove format

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

diff --git a/src/striveneditor.js b/src/striveneditor.js @@ -286,6 +286,8 @@ export default class StrivenEditor { } break; case 'removeFormat': + this.executeCommand('formatBlock', 'p'); + // Remove the format of content this.executeCommand(command); @@ -1850,6 +1852,7 @@ export default class StrivenEditor { }; } }); + } function setResponsive() { @@ -1904,6 +1907,7 @@ export default class StrivenEditor { textDecorationMenu.style.display = 'none'; textDecorationGroup.classList.remove('se-popup'); } + } function hideOption(option) {