This commit is contained in:
@@ -409,6 +409,7 @@ function initializeTagEditors(root = document) {
|
||||
if (!input || !bubbles || !suggestions) return;
|
||||
let tags = input.value.split(",").map((tag) => tag.trim().toLowerCase()).filter(Boolean);
|
||||
tags = [...new Set(tags)];
|
||||
input.value = "";
|
||||
const render = () => {
|
||||
bubbles.replaceChildren(...tags.map((tag) => {
|
||||
const bubble = document.createElement("span");
|
||||
|
||||
Reference in New Issue
Block a user