client/src/components/SlateEditor.js
changeset 143 cfcbf4bc66f1
parent 138 a1fb2ced3049
child 157 5c3af4f10e92
--- a/client/src/components/SlateEditor.js	Wed Jul 18 17:32:09 2018 +0200
+++ b/client/src/components/SlateEditor.js	Tue Aug 14 20:34:50 2018 +0200
@@ -1,7 +1,6 @@
 import { Editor, Plain, Raw } from 'slate'
 import React from 'react'
 import Portal from 'react-portal'
-import { Button } from 'react-bootstrap'
 import Immutable from 'immutable'
 import HtmlSerializer from '../HtmlSerializer'
 import AnnotationPlugin from '../AnnotationPlugin'
@@ -439,7 +438,7 @@
     return (
       <div className="checkbox">
         <label>
-          <input type="checkbox" checked={this.props.isChecked} onChange={this.onCheckboxChange} /> <kbd>Enter</kbd> = add note
+          <input type="checkbox" checked={this.props.isChecked} onChange={this.onCheckboxChange} /> <kbd>Entrée</kbd>= Ajouter une note
         </label>
       </div>
     )
@@ -449,9 +448,9 @@
     return (
       <div>
         { !this.props.note && this.renderToolbarCheckbox() }
-        <Button bsStyle="primary" disabled={this.props.isButtonDisabled} onClick={this.onButtonClick}>
-        { this.props.note ? 'Save note' : 'Add note' }
-        </Button>
+        <button type="button" className="btn btn-primary btn-lg" disabled={this.props.isButtonDisabled} onClick={this.onButtonClick}>
+          { this.props.note ? 'Save note' : 'Ajouter' }
+        </button>
       </div>
     );
   }