mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-09-22 00:20:47 +02:00
This commit is contained in:
parent
53c41561c8
commit
691ef04f62
2 changed files with 4 additions and 1 deletions
|
@ -1818,7 +1818,7 @@ const genColDataByType = (type: TAVCol, id: string, name: string) => {
|
|||
template: "",
|
||||
type,
|
||||
width: "",
|
||||
wrap: false,
|
||||
wrap: undefined,
|
||||
calc: null
|
||||
};
|
||||
return colData;
|
||||
|
|
|
@ -112,6 +112,9 @@ export const openMenuPanel = (options: {
|
|||
html = getAssetHTML(options.cellElements);
|
||||
} else if (options.type === "edit") {
|
||||
if (options.editData) {
|
||||
if (typeof options.editData.colData.wrap === "undefined") {
|
||||
options.editData.colData.wrap = data.view.wrapField;
|
||||
}
|
||||
if (options.editData.previousID) {
|
||||
fields.find((item, index) => {
|
||||
if (item.id === options.editData.previousID) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue