diff --git a/packages/components/timed-text-editor/index.js b/packages/components/timed-text-editor/index.js index 7d43384a..2ec17d81 100644 --- a/packages/components/timed-text-editor/index.js +++ b/packages/components/timed-text-editor/index.js @@ -154,7 +154,7 @@ class TimedTextEditor extends React.Component { newEditorState, selection ); - this.setState({ editorState: newEditorStateSelected }); + return newEditorStateSelected; } else { this.setState({ editorState: newEditorState });