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

Gutenberg v10.2.1 - Copy/Paste adding space before and after text #51253

Open
vparkhere opened this issue Mar 19, 2021 · 1 comment
Open

Gutenberg v10.2.1 - Copy/Paste adding space before and after text #51253

vparkhere opened this issue Mar 19, 2021 · 1 comment
Labels
Customer Report Issues or PRs that were reported via Happiness. Previously known as "Happiness Request". [Feature] Post/Page Editor The editor for editing posts and pages. [Type] Bug When a feature is broken and / or not performing as intended

Comments

@vparkhere
Copy link

Steps to reproduce the behavior

(Windows-only issue)

  1. Go to the page editor.
  2. Copy some text.
  3. Paste in the middle of a word.
  4. See error.

What I expected to happen

Text that is pasted into the editor pastes only the text.

What actually happened

When text is pasted into the editor, a space is added before and after the pasted text.

Context

This was previous reported and fixed here: WordPress/gutenberg#16172

User reported here: 3837050-zen

Browser / OS version

Firefox: 86.0.1
Chrome: 89.0.4389.90

System: Windows 10

Does this happen on simple or atomic sites or both?

Happens on simple sites and Atomic sites with Gutenberg plugin activated.

Level of impact (Does it block purchases? Does it affect more than just one site?)

Affects all simple sites and Atomic sites where Gutenberg plugin is active, only for people using Windows.

Reproducibility (Consistent, Intermittent) Leave empty for consistent.

consistent

Screenshot / Video:

example

Ticket:

@vparkhere vparkhere added [Type] Bug When a feature is broken and / or not performing as intended [Feature] Post/Page Editor The editor for editing posts and pages. labels Mar 19, 2021
@jakyo-dev
Copy link

jakyo-dev commented Jun 23, 2021

I experience the same problem. Copying content from Gutenberg wit CTRL + C adds leading and trailing space, but CTRL + X does not. Copying from other sources and pasting into Gutenberg does not add additional spaces. So it seems like Gutenberg is adding the spaces when copying with CTRL + C.

Win 10
Firefox 89.0.1 (64-Bit)
Gutenberg 10.8.2
Wordpress 5.7.2

@jeherve jeherve added Customer Report Issues or PRs that were reported via Happiness. Previously known as "Happiness Request". and removed User Report labels Dec 18, 2024
@jartes jartes moved this from Needs Triage to Triaged in Automattic Prioritization: The One Board ™ Feb 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Customer Report Issues or PRs that were reported via Happiness. Previously known as "Happiness Request". [Feature] Post/Page Editor The editor for editing posts and pages. [Type] Bug When a feature is broken and / or not performing as intended
Projects
Development

No branches or pull requests

4 participants