diff -r e04714a1d4eb -r 930e486ad0a8 client/src/components/NoteInput.js --- a/client/src/components/NoteInput.js Thu Jun 08 18:54:36 2017 +0200 +++ b/client/src/components/NoteInput.js Fri Jun 09 15:24:53 2017 +0200 @@ -26,6 +26,7 @@ const plain = this.refs.editor.asPlain(); const raw = this.refs.editor.asRaw(); const html = this.refs.editor.asHtml(); + const categories = this.refs.editor.asCategories(); this.props.addNote(this.props.session, { plain: plain, @@ -33,7 +34,8 @@ html: html, startedAt: this.state.startedAt, - finishedAt: moment().format('H:mm:ss') + finishedAt: moment().format('H:mm:ss'), + categories: categories, }); this.refs.editor.clear();