slate-editable-table icon indicating copy to clipboard operation
slate-editable-table copied to clipboard

Is it possible to not trigger onChange event when onMouseDown or selection is done?

Open vamshi9 opened this issue 5 years ago • 2 comments

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?

vamshi9 avatar Oct 06 '19 17:10 vamshi9

Ah..I see. We may need to use withoutSaving when set selectionColor.

bokuweb avatar Oct 07 '19 02:10 bokuweb

Yeah, let me start with that! Thanks, @bokuweb

vamshi9 avatar Oct 07 '19 03:10 vamshi9