add info message for space between emoji and text
parent
d1c4da5516
commit
9bfe98e600
|
@ -597,7 +597,6 @@
|
|||
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.display = 'block';
|
||||
document.querySelector('#shx-info-text').style.color = '#45aaf2';
|
||||
document.querySelector('#shx-info-text').innerHTML = '<strong>Tipp:</strong> Füge <strong>Leerzeichen</strong> zwischen <strong>Text</strong> und <strong>Emojis</strong> ein, um den Text besser lesbar zu machen.';
|
||||
|
@ -611,8 +610,6 @@
|
|||
document.querySelector('#shx-info-text').style.display = 'none';
|
||||
}, 8000);
|
||||
}
|
||||
|
||||
console.warn("here2", emojisSupported, !isEmojiSpacingOk(value))
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue