matrix-react-sdk
f5c477bb - Remove duplicated conversion from `enableRichText`

Commit
7 years ago
Remove duplicated conversion from `enableRichText` `enableRichText` would convert the editor state between rich and md versions explicitly, but then it would also call `createEditorState`, which can do the same thing. This removes the duplication, and also supplies the right arguments to `createEditorState` so it can do its work correctly.
Author
Committer
Parents
Loading