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 incorrect getData when content is inserted into the editor #3380

Merged
merged 5 commits into from
Sep 4, 2019

Conversation

Comandeer
Copy link
Member

@Comandeer Comandeer commented Sep 4, 2019

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 is the proposed changelog entry for this pull request?

* [#3379](/~https://github.com/ckeditor/ckeditor-dev/issues/3379): Fixed: Incorrect [`CKEDITOR.editor#getData`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_editor.html#method-getData) call when inserting content into the editor.

What changes did you make?

I've reversed the conditional introduced by #2776 and forced getData to be called as an internal one.

Closes #3379.

@f1ames f1ames modified the milestone: 4.13.0 Sep 4, 2019
@f1ames f1ames self-requested a review September 4, 2019 12:53
@f1ames f1ames self-assigned this Sep 4, 2019
@f1ames
Copy link
Contributor

f1ames commented Sep 4, 2019

Rebased onto latest major.

Copy link
Contributor

@f1ames f1ames left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@f1ames f1ames merged commit 17285e5 into major Sep 4, 2019
@CKEditorBot CKEditorBot deleted the t/3379 branch September 4, 2019 13:10
@Comandeer Comandeer mentioned this pull request Dec 1, 2020
3 tasks
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.

Incorrect getData event during dropping content into editable
2 participants