xdan / jodit

Jodit - Best WYSIWYG Editor for You
https://xdsoft.net/jodit/
MIT License
1.61k stars 341 forks source link

Table inline popup buttons issue #1129

Closed MyMonsterVR closed 1 month ago

MyMonsterVR commented 1 month ago

Jodit Version: 3.4.5 (PRO (happens in the free version too on your website))

Browser: Chromium OS: Windows Is React App: False

Expected behavior: Buttons delete, create new row and create new column

Actual behavior: Bottom 3 buttons in the inline popup (when u click on a table) to the left triggers a warning, I assume its due to the buttons not having any args since it just returns FALSE in the beforeCommand, this is due to the buttons text being "" instead of "tablebin" or similar behaviour.

Specific browser error is "Uncaught TypeError: e.toLowerCase is not a function" because e which looks to be the control is empty and therefore toLowerCase() returns it as false from what I have observed.