-
Notifications
You must be signed in to change notification settings - Fork 19
I/6119: Clear table contents on clipboard "cut" and keyboard delete #254
Conversation
I think that improving |
…en a table fragment is selected.
@Reinmar So I've checked the state of the From what I can see this PR fixes also (see closes in the first post):
over selected table fragment. it does not, however, fix the ckeditor/ckeditor5#6346 - which is required for UNDO to work :/ Ps.: IMO separate PR/ticket. |
Suggested merge commit message (convention)
Feature: Clear table contents on clipboard "cut" and keyboard delete. Closes ckeditor/ckeditor5#6119. Closes ckeditor/ckeditor5#6284. Closes ckeditor/ckeditor5#6301.
Additional information
For the "cut" event handler I had to override (thus duplicate) default
Clipboard
plugin behavior which was removing a single range instead of multi-range selection. This could be simplified by enhancingmodel.deleteContent()
(reported here: ckeditor/ckeditor5#6328).