mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-03 15:28:49 +01:00
This commit is contained in:
parent
58d1fe9de6
commit
e982d4c1d9
1 changed files with 1 additions and 1 deletions
|
|
@ -430,7 +430,7 @@ export const popTextCell = (protyle: IProtyle, cellElements: HTMLElement[], type
|
|||
const inputElement = avMaskElement.querySelector(".b3-text-field") as HTMLInputElement;
|
||||
if (inputElement) {
|
||||
if (["text", "email", "phone", "block", "template"].includes(type)) {
|
||||
inputElement.value = cellElements[0].querySelector(".av__celltext").textContent;
|
||||
inputElement.value = cellElements[0].querySelector(".av__celltext")?.textContent || "";
|
||||
}
|
||||
inputElement.select();
|
||||
inputElement.focus();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue