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

Fix for focus issues in nested editables caused by copyformatting plugin #2811

Closed
wants to merge 6 commits into from

Conversation

Comandeer
Copy link
Member

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?

The issue is connected with the fact that every mouseup event on editable was connected with executing applyFormat command, which required focusing the editor. It obviously was stealing focus from the editable. The simplest solution was to exec applyFormat only if there is really some formatting to be applied.

Closes #2655.
Closes #2470.

@Comandeer
Copy link
Member Author

Closed in favor of #2792.

@Comandeer Comandeer closed this Feb 14, 2019
@Comandeer Comandeer deleted the t/2655 branch February 14, 2019 16:22
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.

1 participant