add info message for space between emoji and text

main
alexanderroese 2024-08-14 00:14:19 +02:00
parent 222f05436b
commit 679f9b0ad9
1 changed files with 1 additions and 0 deletions

View File

@ -602,6 +602,7 @@
inputLabel.textContent = 'Leerzeichen werden bei diesem Typ nicht unterstützt. Bitte wechsle zu "Mit Hintergrund"';
inputLabel.style.color = 'red';
} else if (emojisSupported && !isEmojiSpacingOk(value)) {
console.warn("here in", document.querySelector('#shx-info-text'))
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 = 'red';
document.querySelector('#shx-info-text').style.display = 'block';