Composer: Fix jumping cursor on Windows (#1996)

This commit is contained in:
Alexander Zinchuk 2022-08-12 01:01:23 +02:00
parent ff6f3bc96b
commit b1f7572839

View File

@ -131,7 +131,7 @@ function replaceEmojis(textParts: TextPart[], size: 'big' | 'small', type: 'jsx'
emojiResult.push(
// For preventing extra spaces in html
// eslint-disable-next-line max-len
`<img draggable="false" contenteditable="false" class="${className}" src="./img-apple-${size === 'big' ? '160' : '64'}/${code}.png" alt="${emoji}" />`,
`<img draggable="false" class="${className}" src="./img-apple-${size === 'big' ? '160' : '64'}/${code}.png" alt="${emoji}" />`,
);
}