Hören Sie sich zufriedenbar an
<!---- JavaScript: Listen on `contenteditable` changes ----------------->
<div contenteditable>Change me</div>
<script>
document.querySelector("div").addEventListener("input", e =>{
console.log( "Content edited: ", e.currentTarget.textContent );
});
</script>
<!---- JavaScript: Listen on `contenteditable` changes ----------------->
KostasX