client/src/components/NoteInput.js
changeset 17 877d8796b86d
parent 16 e67cd18cc594
child 21 284e866f55c7
--- a/client/src/components/NoteInput.js	Thu Jun 01 17:32:07 2017 +0200
+++ b/client/src/components/NoteInput.js	Thu Jun 01 18:46:34 2017 +0200
@@ -25,10 +25,13 @@
   onAddNoteClick = () => {
     const plain = this.refs.editor.asPlain();
     const raw = this.refs.editor.asRaw();
+    const html = this.refs.editor.asHtml();
 
     this.props.addNote(this.props.session, {
       plain: plain,
       raw: raw,
+      html: html,
+
       startedAt: this.state.startedAt,
       finishedAt: moment().format('H:mm:ss')
     });