Linting
This commit is contained in:
parent
004d4828f8
commit
89afcfd897
7 changed files with 23 additions and 17 deletions
|
@ -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));
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue