diff --git a/assets/3rdparty/wdt-emoji/wdt-emoji-bundle.js b/assets/3rdparty/wdt-emoji/wdt-emoji-bundle.js index 4bd8136e..71707ec6 100644 --- a/assets/3rdparty/wdt-emoji/wdt-emoji-bundle.js +++ b/assets/3rdparty/wdt-emoji/wdt-emoji-bundle.js @@ -875,7 +875,7 @@ if (selection.ce) { // if contenteditable el.focus(); - document.execCommand('insertText', false, emo); + el.innerHTML += emo; //COMUNIC EDIT document.execCommand('insertText', false, emo); } else { var textBefore = val.substring(0, selection.start); textBefore = textBefore.replace(/:\S*$/, '') diff --git a/assets/js/components/emoji/picker.js b/assets/js/components/emoji/picker.js index 1510650a..4c21c1e4 100644 --- a/assets/js/components/emoji/picker.js +++ b/assets/js/components/emoji/picker.js @@ -11,7 +11,7 @@ ComunicWeb.components.emoji.picker = { ' × ' + '