Maybe too late but hope this function works for you:
if (editorState.getCurrentContent()
.getPlainText()
.trim() === '') {
// Clean the text area with simple empty ""
}
Why this works? Because even if the user breaks line with many white spaces and no text has been added, you can easily clean the variable when saving or before continue to the next component.