Desired behavior: Column re ordering similar to notion
Drag
H2
column to H1
column, to re order columns
I have implemented rows this way, and my understanding is
- Select the cells (row node in this case)
- Have div with
contenteditable
false and prose mirror handles the rest
But in the case of columns, I am not able select the cells properly, as I am having troubling using CellSelection.colSelection
for which I could not find any example
So my main doubts are
- Is dragging a cell selection/column possible?
- Is there a good place where I can see the usage of column selection. Will really appreciate an example if no public examples are available
Thanks for this amazing project tho <3