mirror of
https://github.com/element-hq/element-web
synced 2024-11-24 10:15:43 +03:00
remove spurious comment
This commit is contained in:
parent
c1000a7cd5
commit
12a56e8b8e
1 changed files with 0 additions and 2 deletions
|
@ -381,8 +381,6 @@ export default class MessageComposerInput extends React.Component {
|
|||
|
||||
// emojioneify any emoji
|
||||
|
||||
// deliberately lose any inlines and pills via Plain.serialize as we know
|
||||
// they won't contain emoji
|
||||
// XXX: is getTextsAsArray a private API?
|
||||
editorState.document.getTextsAsArray().forEach(node => {
|
||||
if (node.text !== '' && HtmlUtils.containsEmoji(node.text)) {
|
||||
|
|
Loading…
Reference in a new issue