mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-23 10:00:13 +01:00
This commit is contained in:
parent
6c5cacabde
commit
5115305c2d
1 changed files with 5 additions and 1 deletions
|
|
@ -109,7 +109,11 @@ export const openMenuPanel = (options: {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
fields.splice(0, 0, options.editData.colData);
|
if (data.viewType === "table") {
|
||||||
|
fields.splice(0, 0, options.editData.colData);
|
||||||
|
} else {
|
||||||
|
fields.push(options.editData.colData);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
html = getEditHTML({protyle: options.protyle, data, colId: options.colId, isCustomAttr});
|
html = getEditHTML({protyle: options.protyle, data, colId: options.colId, isCustomAttr});
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue