Open ptahchiev opened 1 year ago
Just try to use another package. Example: interweave
But I ran into the following problem when trying to programmatically apply text containing emojis: The text is applied, but the emojis are not recognized, and instead there is an empty space, more precisely, an image without CSS styles. Just try to paste into the message state the following value: the text and some emojisπ«£π€€π€§π«€
Hello, what i'm trying to do is replace the pseudo emojis the user is typing with real ones. For example i want to replace :) with π as the user types. In my
onChange
function I can check if the user has entered:)
and then instead I want to append the emoji, but seems like there's no way to invoke it programmatically. Is there any API exposed for us? If not then can you please add it.