mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-08 01:38:50 +01:00
This commit is contained in:
parent
08acbf9f87
commit
64c4bec75f
1 changed files with 3 additions and 0 deletions
|
|
@ -299,6 +299,9 @@ export const addSelectColAndCell = (protyle: IProtyle, data: IAV, options: {
|
|||
content: currentElement.dataset.name
|
||||
});
|
||||
} else {
|
||||
if (!cellData.value) {
|
||||
cellData.value = {select: {}};
|
||||
}
|
||||
oldValue = Object.assign({}, cellData.value.select);
|
||||
cellData.value.select = {
|
||||
color: currentElement.dataset.color,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue