mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-24 02:20:13 +01:00
Improve tooltip (#13966)
* Improve tooltip * fix: https://github.com/siyuan-note/siyuan/issues/13971 * 重构逻辑,非必要不操作元素 * https://github.com/siyuan-note/siyuan/issues/13971 * fix https://ld246.com/article/1740361496784 * fix https://github.com/siyuan-note/siyuan/issues/13962
This commit is contained in:
parent
bf25fe7ea4
commit
0b4cff93ac
10 changed files with 94 additions and 58 deletions
|
|
@ -134,7 +134,7 @@ export const avRender = (element: Element, protyle: IProtyle, cb?: () => void, v
|
|||
}
|
||||
tableHTML += `<div class="av__cell av__cell--header" data-col-id="${column.id}" draggable="true"
|
||||
data-icon="${column.icon}" data-dtype="${column.type}" data-wrap="${column.wrap}" data-pin="${column.pin}"
|
||||
data-desc="${escapeAttr(column.desc)}"
|
||||
data-desc="${escapeAttr(column.desc)}" data-position="top"
|
||||
style="width: ${column.width || "200px"};">
|
||||
${column.icon ? unicode2Emoji(column.icon, "av__cellheadericon", true) : `<svg class="av__cellheadericon"><use xlink:href="#${getColIconByType(column.type)}"></use></svg>`}
|
||||
<span class="av__celltext fn__flex-1">${escapeHtml(column.name)}</span>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue