ueberdosis/tiptap

Table resizable when editor's editable is false

pkariz opened this issue · 1 comments

Description
You can resize table when editor's editable is set to false.

Steps to reproduce the bug

  1. Create an Editor instance which has editable: false and extension:
Table.configure({
  resizable: true,
}),
  1. Resize the table (it changes the editor's content)

Expected behavior
You shouldn't be able to resize the table when editor's editable is set to false.

We also encountered this issue, however, it didn't actually resize the table. It does allow you to resize the columns, but after that it snaps back to the original position. Here's a small video to explain what I mean:

Schermopname.2021-07-16.om.10.24.44.mov