Alex-D / Trumbowyg

A lightweight and amazing WYSIWYG JavaScript editor under 10kB
https://alex-d.github.io/Trumbowyg
MIT License
3.97k stars 606 forks source link

Table Plugin is not allowing fast typing #1392

Open ChanduSekharB opened 1 year ago

ChanduSekharB commented 1 year ago

When I type letters in table columns fast-ly table plugin is unable to print the letters in the columns.

I tried in the demo page as well

dannyrobertson commented 1 year ago

I have experienced this also. Typing into table data fields causes a lot of lag. It can take minutes after I'm done typing a sentence for the data to appear on the screen. The browser frequently indicates the page is not responding. I have tested on macOS in Safari, Edge, and Chrome. Just enabling the table plugin slows typing speed considerably in the editor.

kentico-ericd commented 1 year ago

Potentially related to https://github.com/Alex-D/Trumbowyg/issues/1389

Alex-D commented 1 year ago

That seems related to the resizing of the table. Did you try to set a manual width on each column and/or disable horizontal resizing?

plugins: {
      table: {
        allowHorizontalResize: false
      },
}