mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-20 05:29:32 +01:00
fix: rearranging task items makes them uncheckable
This commit is contained in:
@@ -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>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user