| changeset 103 | dc906a578616 |
| parent 102 | b0e36664f1f2 |
| child 138 | a1fb2ced3049 |
--- a/client/src/components/SlateEditor.js Wed Jun 28 13:29:07 2017 +0200 +++ b/client/src/components/SlateEditor.js Wed Jun 28 14:43:35 2017 +0200 @@ -376,7 +376,11 @@ }) Object.assign(category, { - text: currentSelectionText + text: currentSelectionText, + selection: { + start: currentSelectionStart, + end: currentSelectionEnd, + }, }); categories = categories.push(category);