-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Table resize leaves cell uneditable and leaves cursor in <-> resize mode #3961
Comments
plugins are: |
It looks like it might be related to the fact the cell spans multiple rows. colspan=1, rowspan=18 I confirmed this by creating a new table and using right-click -> cell -> merge down a few times until it happened. |
This might be related to #2739 ?? |
I was able to reproduce this with CKEditor sources only, with "Full" download + table resize + Source Dialog + UI Color Picker + Placeholder + Code Snippet. |
var CKBUILDER_CONFIG = { |
It seems like the algorithm for calculating resize pillars size does not consider spanned cells: ckeditor4/plugins/tableresize/plugin.js Line 64 in 258c8ec
|
Is there an ETA/version for a fix on this? |
I have run into this issue as well. In my experience it only happens when moving the cursor into part of the merged cell that is not aligned with the first row of that cell. This code sandbox includes a small example of that behavior https://codesandbox.io/s/ckeditor-table-resize-bug-nx0po?file=/index.html |
Merged in afc5607 to |
Type of report
Bug
Provide detailed reproduction steps (if any)
Merge cells from a html table-- and then have it lock the resulting cell as contenteditable=false unselectable=on.
If I remove the tableresize plugin, I can edit the cell, but the cursor still remains in resize mode.
NOTE: I was able to reproduce this by using "cell -> merge down" several times on an 18 row table. See uploaded screenshot
Expected result
Should be able to edit content in the cell after cell merge
Actual result
A purple-ish hover-over prevents from editing the cell.. and the screen has a resize arrow for a cursor.
Other details
The text was updated successfully, but these errors were encountered: