commit bc1310c8575e6ea58375471857a0d66a3e6f4a9f
parent 39400656503da03b597faeede7968c6f5c53f5b8
Author: unitehenry <unitehenry@gmail.com>
Date: Thu, 12 Dec 2019 08:53:24 -0500
toolbar template initializes with flex
Diffstat:
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);