make RTE sending work

This commit is contained in:
Matthew Hodgson 2018-05-19 20:28:38 +01:00
parent 4972a234c4
commit 167742d900
3 changed files with 85 additions and 69 deletions

View file

@ -61,14 +61,6 @@ export function stateToMarkdown(state) {
''); // this is *not* a zero width space, trust me :)
}
export const editorStateToHTML = (editorState: Value) => {
return Html.deserialize(editorState);
}
export function htmlToEditorState(html: string): Value {
return Html.serialize(html);
}
export function unicodeToEmojiUri(str) {
let replaceWith, unicode, alt;
if ((!emojione.unicodeAlt) || (emojione.sprites)) {