You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-10 09:22:25 +03:00
make RTE sending work
This commit is contained in:
@@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user