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

Restore firing change before RichText merging #5009

Closed
wants to merge 1 commit into from

Conversation

ellatrix
Copy link
Member

Description

Introduced by #4955. Restores calling onChange props right before merging blocks. If this is not called, the content won't be up-to-date. I originally suggested this change, but later on throttling was introduced to the PR.

How Has This Been Tested?

Select some text at the start of a paragraph, delete it, then backspace to merge with previous paragraph. Content should be correct (not merge previous content).

Checklist:

  • My code is tested.
  • My code follows the WordPress code style.
  • My code has proper inline documentation.

@ellatrix ellatrix added the [Feature] Rich Text Related to the Rich Text component that allows developers to render a contenteditable label Feb 12, 2018
@ellatrix ellatrix requested a review from youknowriad February 12, 2018 18:07
@aduth
Copy link
Member

aduth commented Feb 15, 2018

Is this still relevant with consideration of #5071 and #4956 ?

@aduth aduth added the [Status] Needs More Info Follow-up required in order to be actionable. label Feb 15, 2018
@ellatrix
Copy link
Member Author

No, this is no longer needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] Rich Text Related to the Rich Text component that allows developers to render a contenteditable [Status] Needs More Info Follow-up required in order to be actionable.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants