The first argument to EditorState.createWithContent is a ContentState, not a string. You need to import ContentState var EditorState = Draft.
確定! 回上一頁