This commit is contained in:
parent
05b43aa2b0
commit
6f741b53cf
1 changed files with 1 additions and 1 deletions
|
@ -362,7 +362,7 @@ export const setRelationCell = (protyle: IProtyle, nodeElement: HTMLElement, tar
|
|||
cellElements[0] = nodeElement.querySelector(`.av__row[data-id="${rowElement.dataset.id}"] .av__cell[data-col-id="${cellElements[0].dataset.colId}"]`) as HTMLElement;
|
||||
}
|
||||
const newValue:IAVCellRelationValue = {blockIDs: [], contents: []};
|
||||
menuElement.querySelectorAll('[data-type="setRelationCell"]').forEach(item => {
|
||||
menuElement.querySelectorAll('[draggable="true"]').forEach(item => {
|
||||
const id = item.getAttribute("data-id");
|
||||
newValue.blockIDs.push(id);
|
||||
newValue.contents.push({
|
||||
|
|
Loading…
Add table
Reference in a new issue