From 7fc3d5ee83c67f96dabe4be238aee7c84f95bba2 Mon Sep 17 00:00:00 2001 From: alexanderroese Date: Tue, 16 Jul 2024 23:10:50 +0200 Subject: [PATCH] emoji picker --- snippets/shx-3d-render-input.liquid | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/snippets/shx-3d-render-input.liquid b/snippets/shx-3d-render-input.liquid index 7f20e37..44519e5 100644 --- a/snippets/shx-3d-render-input.liquid +++ b/snippets/shx-3d-render-input.liquid @@ -166,20 +166,6 @@ import insertText from "https://cdn.jsdelivr.net/npm/insert-text-at-cursor@0.3.0/index.js"; console.log("module loaded") - - const emojiPicker = document.createElement("emoji-picker"); - emojiPicker.classList = "light"; - emojiPicker.style.width = "100%"; - - emojiPicker.addEventListener("emoji-click", (e) => { - insertText(document.querySelector("#shx-text1"), e.detail.unicode); - }); - - console.log("add picker"); - - document - .getElementsByClassName("shx-emoji-picker-popup")[0] - .appendChild(emojiPicker);