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 bc1310c8575e6ea58375471857a0d66a3e6f4a9f
parent 39400656503da03b597faeede7968c6f5c53f5b8
Author: unitehenry <unitehenry@gmail.com>
Date:   Thu, 12 Dec 2019 08:53:24 -0500

toolbar template initializes with flex

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

diff --git a/src/striveneditor.js b/src/striveneditor.js @@ -356,6 +356,7 @@ export default class StrivenEditor { if (this.options.toolbarTemplate) { const toolbarTemplate = document.createElement('div'); toolbarTemplate.id = 'toolbar-template'; + toolbarTemplate.setAttribute('style', 'display: flex'); toolbarTemplate.appendChild(this.options.toolbarTemplate); toolbar.appendChild(toolbarTemplate);