diff -r df6780e48eb5 -r 4a8bbd314a46 client/src/actions/notesActions.js --- a/client/src/actions/notesActions.js Thu Jun 01 15:20:31 2017 +0200 +++ b/client/src/actions/notesActions.js Thu Jun 01 16:15:08 2017 +0200 @@ -2,13 +2,14 @@ import * as types from '../constants/actionTypes'; -export const addNote = (session, text) => { +export const addNote = (session, data) => { return { type: types.ADD_NOTE, note: { id: uuidV1(), session: session.id, - text: text, + raw: data.raw, + plain: data.plain } }; }