diff --git a/app/src/protyle/render/av/col.ts b/app/src/protyle/render/av/col.ts index 65eef4f8d..ea0367d22 100644 --- a/app/src/protyle/render/av/col.ts +++ b/app/src/protyle/render/av/col.ts @@ -353,7 +353,7 @@ export const addAttrViewColAnimation = (options: { } let html = ""; if (index === 0) { - html = `
+ html = `
${options.icon ? unicode2Emoji(options.icon, "av__cellicon", true) : ``} ${options.name} @@ -400,7 +400,7 @@ export const showColMenu = (protyle: IProtyle, blockElement: Element, cellElemen label: ``, bind(element) { const iconElement = element.querySelector(".block__icon") as HTMLElement; - iconElement.setAttribute("data-icon", iconElement.dataset.icon); + iconElement.setAttribute("data-icon", cellElement.dataset.icon); iconElement.addEventListener("click", (event) => { const rect = iconElement.getBoundingClientRect(); openEmojiPanel("", "av", {