slate-editable-table
slate-editable-table copied to clipboard
Is it possible to not trigger onChange event when onMouseDown or selection is done?
I see that onMouseDown
, the cell is performing removeSelection
operation which is triggering onChange
event in the editor. I am thinking of avoiding cursor movement in history.
I understand that this is happening with the selectionColor
data property set to cells. But is there a way to tackle the onChange
event when selection or mouse events are done?
Ah..I see. We may need to use withoutSaving
when set selectionColor
.
Yeah, let me start with that! Thanks, @bokuweb