add info message for space between emoji and text

main
alexanderroese 2024-08-14 00:20:39 +02:00
parent 10c3d32ae0
commit 9187a3e3c5
1 changed files with 2 additions and 2 deletions

View File

@ -604,8 +604,8 @@
} else if (emojisSupported && !isEmojiSpacingOk(value)) {
console.warn("here in", document.querySelector('#shx-info-text'))
document.querySelector('#shx-info-text').style.display = 'block';
document.querySelector('#shx-info-text').style.color = 'red';
document.querySelector('#shx-info-text').style.innerHTML = 'Tipp: Füge Leerzeichen zwischen Text und Emojis ein, um den Text besser lesbar zu machen.';
document.querySelector('#shx-info-text').style.color = '#45aaf2';
document.querySelector('#shx-info-text').innerHTML = 'Tipp: Füge <strong>Leerzeichen</strong> zwischen <strong>Text</strong> und <strong>Emojis</strong> ein, um den Text besser lesbar zu machen.';
// hide the text after 8 seconds
setTimeout(() => {