fix: rearranging task items makes them uncheckable

This commit is contained in:
thecodrr
2022-07-08 12:06:40 +05:00
parent 688877df0b
commit 4ab94fcf69
18 changed files with 66 additions and 37 deletions

View File

@@ -90,7 +90,14 @@ export class SelectionBasedNodeView<
node={this.node}
forwardRef={forwardRef}
selected={isSelected}
updateAttributes={(attr) => this.updateAttributes(attr, this.pos)}
updateAttributes={(attr, options) =>
this.updateAttributes(
attr,
this.pos,
options?.addToHistory,
options?.preventUpdate
)
}
/>
</ThemeProvider>
);