mirror of
https://github.com/vector-im/element-web.git
synced 2025-08-31 03:11:02 +02:00
remove spurious comment
This commit is contained in:
parent
c1000a7cd5
commit
12a56e8b8e
@ -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…
x
Reference in New Issue
Block a user