diff -r 772b73e31069 -r b3a02ea6d097 client/src/components/SlateEditor.js --- a/client/src/components/SlateEditor.js Fri Jun 23 10:16:49 2017 +0200 +++ b/client/src/components/SlateEditor.js Fri Jun 23 11:16:34 2017 +0200 @@ -426,21 +426,23 @@ ) } + renderToolbarCheckbox = () => { + return ( +
+ +
+ ) + } + renderToolbarButtons = () => { - if (!this.props.withButtons) { - return ( -
- ) - } - return (
-
- -
- + { !this.props.note && this.renderToolbarCheckbox() } +
); }