Nếu bạn muốn tích hợp bảng chọn Emoji vào wpDiscuz hoàn toàn miễn phí, tương tự như bảng chọn Emoji của Facebook Messenger, bài viết này sẽ giúp bạn.

Thêm Emoji cho khung bình luận wpDiscuz

Về việc tích hợp Emoji vào bình luận, các bạn tham khảo bài viết mà mình từng giới thiệu nhé! Điều kiện thứ 2 là trang web của bạn đang sử dụng wpDiscuz làm hệ thống bình luận. Sau khi chắc chắn, các bạn sử dụng đoạn mã JS sau, lưu ý là phiên bản jQuery 3.7.1.

$(window).on('load', function() {
    $('.wpd-editor-buttons-right').append('<span class="emoji-panel-btn fas fa-smile m-r-2"></span>');

    $('.emoji-panel-btn').click(function(e) {
        e.stopPropagation();
        e.preventDefault();
        if (!$('.emoji-panel').is(':visible')) {
            $('.sticker-panel').remove();
            $(this).after('<div class="emoji-panel"><ul class="nav nav-tabs" role="tablist"><li role="presentation" class="active"><a href="#e-t-1" aria-controls="e-t-1" role="tab" data-toggle="tab">😀</a></li><li role="presentation"><a href="#e-t-2" aria-controls="e-t-2" role="tab" data-toggle="tab">🦉</a></li><li role="presentation"><a href="#e-t-3" aria-controls="e-t-3" role="tab" data-toggle="tab">🥝</a></li><li role="presentation"><a href="#e-t-4" aria-controls="e-t-4" role="tab" data-toggle="tab">⚽️</a></li><li role="presentation"><a href="#e-t-5" aria-controls="e-t-5" role="tab" data-toggle="tab">🚀</a></li><li role="presentation"><a href="#e-t-6" aria-controls="e-t-6" role="tab" data-toggle="tab">🧱</a></li><li role="presentation"><a href="#e-t-7" aria-controls="e-t-7" role="tab" data-toggle="tab">💖</a></li></ul><div class="tab-content"><div role="tabpanel" class="tab-pane emoji-tab active" id="e-t-1"><span>😀</span><span>😃</span><span>😄</span><span>😁</span><span>😆</span><span>😅</span><span>😂</span><span>🤣</span><span>😊</span><span>😇</span><span>🙂</span><span>🙃</span><span>😉</span><span>😌</span><span>😍</span><span>🥰</span><span>😘</span><span>😗</span><span>😙</span><span>😚</span><span>😋</span><span>😛</span><span>😝</span><span>😜</span><span>🤪</span><span>🤨</span><span>🧐</span><span>🤓</span><span>😎</span><span>🤩</span><span>🥳</span><span>😏</span><span>😒</span><span>😞</span><span>😔</span><span>😟</span><span>😕</span><span>🙁</span><span>☹️</span><span>😣</span><span>😖</span><span>😫</span><span>😩</span><span>🥺</span><span>😢</span><span>😭</span><span>😤</span><span>😠</span><span>😡</span><span>🤬</span><span>🤯</span><span>😳</span><span>🥵</span><span>🥶</span><span>😱</span><span>😨</span><span>😰</span><span>😥</span><span>😓</span><span>🤗</span><span>🤔</span><span>🤭</span><span>🤫</span><span>🤥</span><span>😶</span><span>😐</span><span>😑</span><span>😬</span><span>🙄</span><span>😯</span><span>😦</span><span>😧</span><span>😮</span><span>😲</span><span>🥱</span><span>😴</span><span>🤤</span><span>😪</span><span>😵</span><span>🤐</span><span>🥴</span><span>🤢</span><span>🤮</span><span>🤧</span><span>😷</span><span>🤒</span><span>🤕</span><span>🤑</span><span>🤠</span><span>😈</span><span>👿</span><span>👹</span><span>👺</span><span>🤡</span><span>💩</span><span>👻</span><span>💀</span><span>☠️</span><span>👽</span><span>👾</span><span>🤖</span><span>🎃</span><span>😺</span><span>😸</span><span>😹</span><span>😻</span><span>😼</span><span>😽</span><span>🙀</span><span>😿</span><span>😾</span><span>👋</span><span>🤚</span><span>🖐</span><span>✋</span><span>🖖</span><span>👌</span><span>🤏</span><span>✌️</span><span>🤞</span><span>🤟</span><span>🤘</span><span>🤙</span><span>👈</span><span>👉</span><span>👆</span><span>🖕</span><span>👇</span><span>☝️</span><span>👍</span><span>👎</span><span>✊</span><span>👊</span><span>🤛</span><span>🤜</span><span>👏</span><span>🙌</span><span>👐</span><span>🤲</span><span>🤝</span><span>🙏</span><span>✍️</span><span>💅</span><span>🤳</span><span>💪</span><span>🦾</span><span>🦵</span><span>🦿</span><span>🦶</span><span>👣</span><span>👂</span><span>🦻</span><span>👃</span><span>🧠</span><span>🦷</span><span>🦴</span><span>👀</span><span>👁</span><span>👅</span><span>👄</span><span>💋</span><span>🩸</span><span>🧳</span><span>🌂</span><span>☂️</span><span>🧵</span><span>🧶</span><span>👓</span><span>🕶</span><span>🥽</span><span>🥼</span><span>🦺</span><span>👔</span><span>👕</span><span>👖</span><span>🧣</span><span>🧤</span><span>🧥</span><span>🧦</span><span>👗</span><span>👘</span><span>🥻</span><span>🩱</span><span>🩲</span><span>🩳</span><span>👙</span><span>👚</span><span>👛</span><span>👜</span><span>👝</span><span>🎒</span><span>👞</span><span>👟</span><span>🥾</span><span>🥿</span><span>👠</span><span>👡</span><span>🩰</span><span>👢</span><span>👑</span><span>👒</span><span>🎩</span><span>🎓</span><span>🧢</span><span>⛑</span><span>💄</span><span>💍</span><span>💼</span></div><div role="tabpanel" class="tab-pane emoji-tab" id="e-t-2"><span>🐶</span><span>🐱</span><span>🐭</span><span>🐹</span><span>🐰</span><span>🦊</span><span>🐻</span><span>🐼</span><span>🐻</span><span>🐨</span><span>🐯</span><span>🦁</span><span>🐮</span><span>🐷</span><span>🐽</span><span>🐸</span><span>🐵</span><span>🙈</span><span>🙉</span><span>🙊</span><span>🐒</span><span>🐔</span><span>🐧</span><span>🐦</span><span>🐤</span><span>🐣</span><span>🐥</span><span>🦆</span><span>🦅</span><span>🦉</span><span>🦇</span><span>🐺</span><span>🐗</span><span>🐴</span><span>🦄</span><span>🐝</span><span>🐛</span><span>🦋</span><span>🐌</span><span>🐞</span><span>🐜</span><span>🦟</span><span>🦗</span><span>🕷</span><span>🕸</span><span>🦂</span><span>🐢</span><span>🐍</span><span>🦎</span><span>🦖</span><span>🦕</span><span>🐙</span><span>🦑</span><span>🦐</span><span>🦞</span><span>🦀</span><span>🐡</span><span>🐠</span><span>🐟</span><span>🐬</span><span>🐳</span><span>🐋</span><span>🦈</span><span>🐊</span><span>🐅</span><span>🐆</span><span>🦓</span><span>🦍</span><span>🦧</span><span>🐘</span><span>🦛</span><span>🦏</span><span>🐪</span><span>🐫</span><span>🦒</span><span>🦘</span><span>🐃</span><span>🐂</span><span>🐄</span><span>🐎</span><span>🐖</span><span>🐏</span><span>🐑</span><span>🦙</span><span>🐐</span><span>🦌</span><span>🐩</span><span>🦮</span><span>🐕</span><span>🐈</span><span>🐓</span><span>🦃</span><span>🦚</span><span>🦜</span><span>🦢</span><span>🦩</span><span>🕊</span><span>🐇</span><span>🦝</span><span>🦨</span><span>🦡</span><span>🦦</span><span>🦥</span><span>🐁</span><span>🐀</span><span>🐿</span><span>🦔</span><span>🐾</span><span>🐉</span><span>🐲</span><span>🌵</span><span>🎄</span><span>🌲</span><span>🌳</span><span>🌴</span><span>🌱</span><span>🌿</span><span>☘️</span><span>🍀</span><span>🎍</span><span>🎋</span><span>🍃</span><span>🍂</span><span>🍁</span><span>🍄</span><span>🐚</span><span>🌾</span><span>💐</span><span>🌷</span><span>🌹</span><span>🥀</span><span>🌺</span><span>🌸</span><span>🌼</span><span>🌻</span><span>🌞</span><span>🌝</span><span>🌛</span><span>🌜</span><span>🌚</span><span>🌕</span><span>🌖</span><span>🌗</span><span>🌘</span><span>🌑</span><span>🌒</span><span>🌓</span><span>🌔</span><span>🌙</span><span>🌎</span><span>🌍</span><span>🌏</span><span>🪐</span><span>💫</span><span>⭐️</span><span>🌟</span><span>✨</span><span>⚡️</span><span>☄️</span><span>💥</span><span>🔥</span><span>🌪</span><span>🌈</span><span>☀️</span><span>🌤</span><span>⛅️</span><span>🌥</span><span>☁️</span><span>🌦</span><span>🌧</span><span>⛈</span><span>🌩</span><span>🌨</span><span>❄️</span><span>☃️</span><span>⛄️</span><span>🌬</span><span>💨</span><span>💧</span><span>💦</span><span>☔️</span><span>☂️</span><span>🌊</span><span>🌫</span></div><div role="tabpanel" class="tab-pane emoji-tab" id="e-t-3"><span>🍏</span><span>🍎</span><span>🍐</span><span>🍊</span><span>🍋</span><span>🍌</span><span>🍉</span><span>🍇</span><span>🍓</span><span>🍈</span><span>🍒</span><span>🍑</span><span>🥭</span><span>🍍</span><span>🥥</span><span>🥝</span><span>🍅</span><span>🍆</span><span>🥑</span><span>🥦</span><span>🥬</span><span>🥒</span><span>🌶</span><span>🌽</span><span>🥕</span><span>🧄</span><span>🧅</span><span>🥔</span><span>🍠</span><span>🥐</span><span>🥯</span><span>🍞</span><span>🥖</span><span>🥨</span><span>🧀</span><span>🥚</span><span>🍳</span><span>🧈</span><span>🥞</span><span>🧇</span><span>🥓</span><span>🥩</span><span>🍗</span><span>🍖</span><span>🦴</span><span>🌭</span><span>🍔</span><span>🍟</span><span>🍕</span><span>🥪</span><span>🥙</span><span>🧆</span><span>🌮</span><span>🌯</span><span>🥗</span><span>🥘</span><span>🥫</span><span>🍝</span><span>🍜</span><span>🍲</span><span>🍛</span><span>🍣</span><span>🍱</span><span>🥟</span><span>🦪</span><span>🍤</span><span>🍙</span><span>🍚</span><span>🍘</span><span>🍥</span><span>🥠</span><span>🥮</span><span>🍢</span><span>🍡</span><span>🍧</span><span>🍨</span><span>🍦</span><span>🥧</span><span>🧁</span><span>🍰</span><span>🎂</span><span>🍮</span><span>🍭</span><span>🍬</span><span>🍫</span><span>🍿</span><span>🍩</span><span>🍪</span><span>🌰</span><span>🥜</span><span>🍯</span><span>🥛</span><span>🍼</span><span>☕️</span><span>🍵</span><span>🧃</span><span>🥤</span><span>🍶</span><span>🍺</span><span>🍻</span><span>🥂</span><span>🍷</span><span>🥃</span><span>🍸</span><span>🍹</span><span>🧉</span><span>🍾</span><span>🧊</span><span>🥄</span><span>🍴</span><span>🍽</span><span>🥣</span><span>🥡</span><span>🥢</span><span>🧂</span></div><div role="tabpanel" class="tab-pane emoji-tab" id="e-t-4"><span>⚽️</span><span>🏀</span><span>🏈</span><span>⚾️</span><span>🥎</span><span>🎾</span><span>🏐</span><span>🏉</span><span>🥏</span><span>🎱</span><span>🪀</span><span>🏓</span><span>🏸</span><span>🏒</span><span>🏑</span><span>🥍</span><span>🏏</span><span>🥅</span><span>⛳️</span><span>🪁</span><span>🏹</span><span>🎣</span><span>🤿</span><span>🥊</span><span>🥋</span><span>🎽</span><span>🛹</span><span>🛷</span><span>⛸</span><span>🥌</span><span>🎿</span><span>⛷</span><span>🏂</span><span>🪂</span><span>🏋️</span><span>🏋️</span><span>🤼</span><span>🤸</span><span>⛹️</span><span>🤺</span><span>🤾</span><span>🏌️</span><span>🏇</span><span>🧘</span><span>🏄</span><span>🏊</span><span>🤽</span><span>🚣</span><span>🧗</span><span>🚵</span><span>🚴</span><span>🏆</span><span>🥇</span><span>🥈</span><span>🥉</span><span>🏅</span><span>🎖</span><span>🏵</span><span>🎗</span><span>🎫</span><span>🎟</span><span>🎪</span><span>🤹</span><span>🎭</span><span>🩰</span><span>🎨</span><span>🎬</span><span>🎤</span><span>🎧</span><span>🎼</span><span>🎹</span><span>🥁</span><span>🎷</span><span>🎺</span><span>🎸</span><span>🪕</span><span>🎻</span><span>🎲</span><span>♟</span><span>🎯</span><span>🎳</span><span>🎮</span><span>🎰</span><span>🧩</span></div><div role="tabpanel" class="tab-pane emoji-tab" id="e-t-5"><span>🚗</span><span>🚕</span><span>🚙</span><span>🚌</span><span>🚎</span><span>🏎</span><span>🚓</span><span>🚑</span><span>🚒</span><span>🚐</span><span>🚚</span><span>🚛</span><span>🚜</span><span>🦯</span><span>🦽</span><span>🦼</span><span>🛴</span><span>🚲</span><span>🛵</span><span>🏍</span><span>🛺</span><span>🚨</span><span>🚔</span><span>🚍</span><span>🚘</span><span>🚖</span><span>🚡</span><span>🚠</span><span>🚟</span><span>🚃</span><span>🚋</span><span>🚞</span><span>🚝</span><span>🚄</span><span>🚅</span><span>🚈</span><span>🚂</span><span>🚆</span><span>🚇</span><span>🚊</span><span>🚉</span><span>✈️</span><span>🛫</span><span>🛬</span><span>🛩</span><span>💺</span><span>🛰</span><span>🚀</span><span>🛸</span><span>🚁</span><span>🛶</span><span>⛵️</span><span>🚤</span><span>🛥</span><span>🛳</span><span>⛴</span><span>🚢</span><span>⚓️</span><span>⛽️</span><span>🚧</span><span>🚦</span><span>🚥</span><span>🚏</span><span>🗺</span><span>🗿</span><span>🗽</span><span>🗼</span><span>🏰</span><span>🏯</span><span>🏟</span><span>🎡</span><span>🎢</span><span>🎠</span><span>⛲️</span><span>⛱</span><span>🏖</span><span>🏝</span><span>🏜</span><span>🌋</span><span>⛰</span><span>🏔</span><span>🗻</span><span>🏕</span><span>⛺️</span><span>🏠</span><span>🏡</span><span>🏘</span><span>🏚</span><span>🏗</span><span>🏭</span><span>🏢</span><span>🏬</span><span>🏣</span><span>🏤</span><span>🏥</span><span>🏦</span><span>🏨</span><span>🏪</span><span>🏫</span><span>🏩</span><span>💒</span><span>🏛</span><span>⛪️</span><span>🕌</span><span>🕍</span><span>🛕</span><span>🕋</span><span>⛩</span><span>🛤</span><span>🛣</span><span>🗾</span><span>🎑</span><span>🏞</span><span>🌅</span><span>🌄</span><span>🌠</span><span>🎇</span><span>🎆</span><span>🌇</span><span>🌆</span><span>🏙</span><span>🌃</span><span>🌌</span><span>🌉</span><span>🌁</span></div><div role="tabpanel" class="tab-pane emoji-tab" id="e-t-6"><span>⌚️</span><span>📱</span><span>📲</span><span>💻</span><span>⌨️</span><span>🖥</span><span>🖨</span><span>🖱</span><span>🖲</span><span>🕹</span><span>🗜</span><span>💽</span><span>💾</span><span>💿</span><span>📀</span><span>📼</span><span>📷</span><span>📸</span><span>📹</span><span>🎥</span><span>📽</span><span>🎞</span><span>📞</span><span>☎️</span><span>📟</span><span>📠</span><span>📺</span><span>📻</span><span>🎙</span><span>🎚</span><span>🎛</span><span>🧭</span><span>⏱</span><span>⏲</span><span>⏰</span><span>🕰</span><span>⌛️</span><span>⏳</span><span>📡</span><span>🔋</span><span>🔌</span><span>💡</span><span>🔦</span><span>🕯</span><span>🪔</span><span>🧯</span><span>🛢</span><span>💸</span><span>💵</span><span>💴</span><span>💶</span><span>💷</span><span>💰</span><span>💳</span><span>💎</span><span>⚖️</span><span>🧰</span><span>🔧</span><span>🔨</span><span>⚒</span><span>🛠</span><span>⛏</span><span>🔩</span><span>⚙️</span><span>🧱</span><span>⛓</span><span>🧲</span><span>🔫</span><span>💣</span><span>🧨</span><span>🪓</span><span>🔪</span><span>🗡</span><span>⚔️</span><span>🛡</span><span>🚬</span><span>⚰️</span><span>🪦</span><span>⚱️</span><span>🏺</span><span>🔮</span><span>📿</span><span>🧿</span><span>💈</span><span>⚗️</span><span>🔭</span><span>🔬</span><span>🕳</span><span>🩹</span><span>🩺</span><span>💊</span><span>💉</span><span>🩸</span><span>🧬</span><span>🦠</span><span>🧫</span><span>🧪</span><span>🌡</span><span>🧹</span><span>🧺</span><span>🧻</span><span>🚽</span><span>🚰</span><span>🚿</span><span>🛁</span><span>🛀</span><span>🧼</span><span>🪒</span><span>🧽</span><span>🧴</span><span>🛎</span><span>🔑</span><span>🗝</span><span>🚪</span><span>🪑</span><span>🛋</span><span>🛏</span><span>🛌</span><span>🧸</span><span>🖼</span><span>🛍</span><span>🛒</span><span>🎁</span><span>🎈</span><span>🎏</span><span>🎀</span><span>🎊</span><span>🎉</span><span>🎎</span><span>🏮</span><span>🎐</span><span>🧧</span><span>✉️</span><span>📩</span><span>📨</span><span>📧</span><span>💌</span><span>📥</span><span>📤</span><span>📦</span><span>🏷</span><span>📪</span><span>📫</span><span>📬</span><span>📭</span><span>📮</span><span>📯</span><span>📜</span><span>📃</span><span>📄</span><span>📑</span><span>🧾</span><span>📊</span><span>📈</span><span>📉</span><span>🗒</span><span>🗓</span><span>📆</span><span>📅</span><span>🗑</span><span>📇</span><span>🗃</span><span>🗳</span><span>🗄</span><span>📋</span><span>📁</span><span>📂</span><span>🗂</span><span>🗞</span><span>📰</span><span>📓</span><span>📔</span><span>📒</span><span>📕</span><span>📗</span><span>📘</span><span>📙</span><span>📚</span><span>📖</span><span>🔖</span><span>🧷</span><span>🔗</span><span>📎</span><span>🖇</span><span>📐</span><span>📏</span><span>🧮</span><span>📌</span><span>📍</span><span>✂️</span><span>🖊</span><span>🖋</span><span>✒️</span><span>🖌</span><span>🖍</span><span>📝</span><span>✏️</span><span>🔍</span><span>🔎</span><span>🔏</span><span>🔐</span><span>🔒</span><span>🔓</span></div><div role="tabpanel" class="tab-pane emoji-tab" id="e-t-7"><span>❤️</span><span>🧡</span><span>💛</span><span>💚</span><span>💙</span><span>💜</span><span>🖤</span><span>🤍</span><span>🤎</span><span>💔</span><span>❣️</span><span>💕</span><span>💞</span><span>💓</span><span>💗</span><span>💖</span><span>💘</span><span>💝</span><span>💟</span><span>☮️</span><span>✝️</span><span>☪️</span><span>🕉</span><span>☸️</span><span>✡️</span><span>🔯</span><span>🕎</span><span>☯️</span><span>☦️</span><span>🛐</span><span>⛎</span><span>♈️</span><span>♉️</span><span>♊️</span><span>♋️</span><span>♌️</span><span>♍️</span><span>♎️</span><span>♏️</span><span>♐️</span><span>♑️</span><span>♒️</span><span>♓️</span><span>🆔</span><span>⚛️</span><span>🉑</span><span>☢️</span><span>☣️</span><span>📴</span><span>📳</span><span>🈶</span><span>🈚️</span><span>🈸</span><span>🈺</span><span>🈷️</span><span>✴️</span><span>🆚</span><span>💮</span><span>🉐</span><span>㊙️</span><span>㊗️</span><span>🈴</span><span>🈵</span><span>🈹</span><span>🈲</span><span>🅰️</span><span>🅱️</span><span>🆎</span><span>🆑</span><span>🅾️</span><span>🆘</span><span>❌</span><span>⭕️</span><span>🛑</span><span>⛔️</span><span>📛</span><span>🚫</span><span>💯</span><span>💢</span><span>♨️</span><span>🚷</span><span>🚯</span><span>🚳</span><span>🚱</span><span>🔞</span><span>📵</span><span>🚭</span><span>❗️</span><span>❕</span><span>❓</span><span>❔</span><span>‼️</span><span>⁉️</span><span>🔅</span><span>🔆</span><span>〽️</span><span>⚠️</span><span>🚸</span><span>🔱</span><span>⚜️</span><span>🔰</span><span>♻️</span><span>✅</span><span>🈯️</span><span>💹</span><span>❇️</span><span>✳️</span><span>❎</span><span>🌐</span><span>💠</span><span>Ⓜ️</span><span>🌀</span><span>💤</span><span>🏧</span><span>🚾</span><span>♿️</span><span>🅿️</span><span>🛗</span><span>🈳</span><span>🈂️</span><span>🛂</span><span>🛃</span><span>🛄</span><span>🛅</span><span>🚹</span><span>🚺</span><span>🚼</span><span>⚧</span><span>🚻</span><span>🚮</span><span>🎦</span><span>📶</span><span>🈁</span><span>🔣</span><span>ℹ️</span><span>🔤</span><span>🔡</span><span>🔠</span><span>🆖</span><span>🆗</span><span>🆙</span><span>🆒</span><span>🆕</span><span>🆓</span><span>0️⃣</span><span>1️⃣</span><span>2️⃣</span><span>3️⃣</span><span>4️⃣</span><span>5️⃣</span><span>6️⃣</span><span>7️⃣</span><span>8️⃣</span><span>9️⃣</span><span>🔟</span><span>🔢</span><span>#️⃣</span><span>*️⃣</span><span>⏏️</span><span>▶️</span><span>⏸</span><span>⏯</span><span>⏹</span><span>⏺</span><span>⏭</span><span>⏮</span><span>⏩</span><span>⏪</span><span>⏫</span><span>⏬</span><span>◀️</span><span>🔼</span><span>🔽</span><span>➡️</span><span>⬅️</span><span>⬆️</span><span>⬇️</span><span>↗️</span><span>↘️</span><span>↙️</span><span>↖️</span><span>↕️</span><span>↔️</span><span>↪️</span><span>↩️</span><span>⤴️</span><span>⤵️</span><span>🔀</span><span>🔁</span><span>🔂</span><span>🔄</span><span>🔃</span><span>🎵</span><span>🎶</span><span>➕</span><span>➖</span><span>➗</span><span>✖️</span><span>♾</span><span>💲</span><span>💱</span><span>™️</span><span>©️</span><span>®️</span><span>〰️</span><span>➰</span><span>➿</span><span>🔚</span><span>🔙</span><span>🔛</span><span>🔝</span><span>🔜</span><span>✔️</span><span>☑️</span><span>🔘</span><span>🔴</span><span>🟠</span><span>🟡</span><span>🟢</span><span>🔵</span><span>🟣</span><span>⚫️</span><span>⚪️</span><span>🟤</span><span>🔺</span><span>🔻</span><span>🔸</span><span>🔹</span><span>🔶</span><span>🔷</span><span>🔳</span><span>🔲</span><span>▪️</span><span>▫️</span><span>◾️</span><span>◽️</span><span>◼️</span><span>◻️</span><span>🟥</span><span>🟧</span><span>🟨</span><span>🟩</span><span>🟦</span><span>🟪</span><span>⬛️</span><span>⬜️</span><span>🟫</span><span>🔈</span><span>🔇</span><span>🔉</span><span>🔊</span><span>🔔</span><span>🔕</span><span>📣</span><span>📢</span><span>💬</span><span>💭</span><span>🗯</span><span>♠️</span><span>♣️</span><span>♥️</span><span>♦️</span><span>🃏</span><span>🎴</span><span>🀄️</span><span>🕐</span><span>🕑</span><span>🕒</span><span>🕓</span><span>🕔</span><span>🕕</span><span>🕖</span><span>🕗</span><span>🕘</span><span>🕙</span><span>🕚</span><span>🕛</span><span>🕜</span><span>🕝</span><span>🕞</span><span>🕟</span><span>🕠</span><span>🕡</span><span>🕢</span><span>🕣</span><span>🕤</span><span>🕥</span><span>🕦</span><span>🕧</span></div></div></div>');
        } else {
            $('.emoji-panel').remove();
        }

        $('.emoji-tab span').click(function() {
            $('#wpd-editor-0_0 .ql-editor p').html($('#wpd-editor-0_0 .ql-editor p').html() + $(this).html());
        });
    });

    // Ẩn Emoji khi bấm ra ngoài
    $('body').click(function(e) {
        if (!(e.target).closest('.emoji-panel')) {
            if ($('.emoji-panel').is(':visible')) {
                $('.emoji-panel').remove();
            }
        }
    });
});

Chúc các bạn thành công!

5/5 (2 bình chọn)