Skip to content
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

Disabled cutting widget in a readonly mode using cmd/ctrl + x keys #1589

Merged
merged 6 commits into from
Feb 7, 2018

Conversation

jacekbogdanski
Copy link
Member

@jacekbogdanski jacekbogdanski commented Feb 5, 2018

What is the purpose of this pull request?

Bug fix.

Does your PR contain necessary tests?

All patches which change the editor code must include tests. You can always read more
on PR testing,
how to set the testing environment and
how to create tests
in the official CKEditor documentation.

This PR contains

  • Unit tests
  • Manual tests

What changes did you make?

Added condition to prevent deleting focused widget when cutting using cmd/ctrl + x keys in read only mode.

Closes #1570

@Comandeer Comandeer self-assigned this Feb 6, 2018
@@ -0,0 +1,16 @@
@bender-tags: selection, fake, widget, 4.9.0, bug, 1570
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please ignore this test in IE as it fails due to #1575.

@@ -635,6 +639,39 @@
} );
},

// #1570
'test cutting single focused widget with readonly mode': function() {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please ignore this test in IE as it fails due to #1575.

@Comandeer Comandeer merged commit 5db0c71 into major Feb 7, 2018
@Comandeer Comandeer deleted the t/1570 branch February 7, 2018 09:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fake selection allows for cutting in a readonly mode
2 participants