commit 17d3810e66d65492d29762d835fc65b1742e15ff
parent fc31763e35122e7acbc8dd25004fedb0e94d8163
Author: Henry Unite <unitehenry@gmail.com>
Date: Fri, 18 Oct 2019 08:21:05 -0400
Merge pull request #47 from carlosnufe/task/remove-format-option-when-minimal-toolbar
closes #42 do not show #toolbar-removeFormat option when toolbar is s…
Diffstat:
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
+}