mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-02-28 05:32:52 +00:00
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user