add info message for space between emoji and text
parent
10c3d32ae0
commit
9187a3e3c5
|
@ -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(() => {
|
||||
|
|
Loading…
Reference in New Issue