add info message for space between emoji and text

main
alexanderroese 2024-08-14 00:11:20 +02:00
parent c94fa6b855
commit 0e02923408
1 changed files with 3 additions and 1 deletions

View File

@ -602,7 +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)) {
document.querySelector('#shx-info-text').style.innerHTML = '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 = 'red';
document.querySelector('#shx-info-text').style.display = 'block';
@ -611,6 +611,8 @@
document.querySelector('#shx-info-text').style.display = 'none';
}, 8000);
}
console.warn("here", emojisSupported, isEmojiSpacingOk(value))
}
}