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

Add full support for replacing element node with text or comment node in htmlparser #3611

Merged
merged 4 commits into from
Nov 12, 2019

Conversation

msamsel
Copy link
Contributor

@msamsel msamsel commented Oct 30, 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?

* [#3593](https://github.com/ckeditor/ckeditor4/issues/3593): Fixed: Can't access to text or comment node when is replaced with [`CKEDITOR.htmlParser.filter`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_htmlParser_filter.html)

What changes did you make?

Add missing 3rd argument to filter method, when an element is replaced with a text or a comment.
Fix required for #2374

Closes #3593

@Comandeer Comandeer self-requested a review November 12, 2019 12:49
@Comandeer Comandeer self-assigned this Nov 12, 2019
Copy link
Member

@Comandeer Comandeer left a comment

Choose a reason for hiding this comment

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

LGTM!

@Comandeer Comandeer merged commit 7819cb2 into master Nov 12, 2019
@CKEditorBot CKEditorBot deleted the t/3593 branch November 12, 2019 15:08
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.

2 participants