This commit is contained in:
parent
1f6f7c44d7
commit
960766509d
1 changed files with 1 additions and 1 deletions
|
@ -175,7 +175,7 @@ export const getEditHTML = (options: {
|
|||
} else if (colData.type === "template") {
|
||||
html += `<button class="b3-menu__separator"></button>
|
||||
<button class="b3-menu__item" data-type="nobg">
|
||||
<textarea spellcheck="false" rows="${colData.template.split("\n").length}" placeholder="${window.siyuan.languages.template}" data-type="updateTemplate" style="margin: 4px 0" rows="1" class="fn__block b3-text-field">${colData.template}</textarea>
|
||||
<textarea spellcheck="false" rows="${Math.min(colData.template.split("\n").length, 8)}" placeholder="${window.siyuan.languages.template}" data-type="updateTemplate" style="margin: 4px 0" rows="1" class="fn__block b3-text-field">${colData.template}</textarea>
|
||||
</button>`;
|
||||
} else if (colData.type === "relation") {
|
||||
const isSelf = colData.relation?.avID === options.data.id;
|
||||
|
|
Loading…
Add table
Reference in a new issue