1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-10 09:22:25 +03:00
This commit is contained in:
Luke Barnard
2017-06-23 17:35:07 +01:00
parent 004d4828f8
commit 89afcfd897
7 changed files with 23 additions and 17 deletions

View File

@@ -50,7 +50,7 @@ export const contentStateToHTML = (contentState: ContentState) => {
});
};
export function HTMLtoContentState(html: string): ContentState {
export function htmlToContentState(html: string): ContentState {
return ContentState.createFromBlockArray(convertFromHTML(html));
}