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

Paste: strip HTML formatting space for inline text #19043

Merged
merged 1 commit into from
Dec 10, 2019

Conversation

ellatrix
Copy link
Member

@ellatrix ellatrix commented Dec 10, 2019

Description

Fixes #16172.
Since #17470 HTML formatting space is cleaned up on paste, but I forgot to add this for inline paste.

How has this been tested?

Screenshots

Types of changes

Checklist:

  • My code is tested.
  • My code follows the WordPress code style.
  • My code follows the accessibility standards.
  • My code has proper inline documentation.
  • I've included developer documentation if appropriate.
  • I've updated all React Native files affected by any refactorings/renamings in this PR. .

@ellatrix ellatrix added [Type] Bug An existing feature does not function as intended [Feature] Paste labels Dec 10, 2019
@ellatrix ellatrix force-pushed the fix/paste-inline-html-formatting branch from d934f2f to d6f5975 Compare December 10, 2019 16:27
@ellatrix ellatrix force-pushed the fix/paste-inline-html-formatting branch from d6f5975 to ac92f21 Compare December 10, 2019 17:17
@ellatrix ellatrix merged commit 6ad16aa into master Dec 10, 2019
@ellatrix ellatrix deleted the fix/paste-inline-html-formatting branch December 10, 2019 18:21
@youknowriad youknowriad added this to the Gutenberg 7.2 milestone Jan 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] Paste [Type] Bug An existing feature does not function as intended
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Pasting text adds leading and trailing spaces
2 participants