xdan / jodit

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

Table: Edit multiple cells not working when using CTRL+click to select cells #1163

Open Liteb0t opened 3 months ago

Liteb0t commented 3 months ago

Jodit Version: 4.xxxxx

Browser: Firefox OS: Linux Is React App: No Reproduced on xdsoft.net: Yes

Reproducing :: Open standard Jodit editor, create a table, ctrl+click multiple cells and try to change background colour or any other option. You can see they are indicated with a blue outline to show they are selected.

Expected behavior :: Should apply changes to all selected cells. The cells should remain selected until clicked away from, to have the same behaviour as the usual clicking and dragging.

Actual behavior :: Only changes styles on the last table cell clicked. Also, only up to two cells are still selected after attempting to apply changes, and the second cell cycles through the different initially selected cells while the last cell selected stays selected the whole time (the only one where the changes work)