Custom column updating for the prosemirror-tables

So currently the columnResizing plugin in the Prosemirror Tables library, is always using the updateColumns method included in the library, which is a problem when you need a custom implementation of that.

I created a PR to solve that issue, which will allow developers to pass their own implementation of that method.

The reason we need this is that, we want to have a realizable table similar to the way it works in Word, where you resize the entire table at once by dragging the corner. Currently this isn’t possible, because the updateColumns method applies the column using inline styles and overrides everything else so we can’t apply our own styles.

Do you think that’s a good idea, or is there a better solution?

1 Like