Open fauria opened 11 years ago
When running JQuery's val() function on a emojiarea, the div is not affected. For example, $("textarea").val(''); does not clear the div.
A workaround can be used: $(".emoji-wysiwyg-editor").html('');
Same problem here! Tks @fauria for de help! .html(''); works fine for me!
When running JQuery's val() function on a emojiarea, the div is not affected. For example, $("textarea").val(''); does not clear the div.
A workaround can be used: $(".emoji-wysiwyg-editor").html('');