tohsakarat
Hello, I bypassed the bug by myself. I consoled the selection
object . It showed that it does not has .attributes.text_to_replace
property. That's why there is front-end err.


So I replaced this line and it works. So now the name
and the code
of custom emoji must be the same.
After all, it works.

Finally, are you Chinese? Maybe we shall not communicate in English.