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

Post Editor is intermittently unresponsive to highlight/cut/paste, and cursor goes missing #98224

Open
supernovia opened this issue Jan 10, 2025 · 12 comments
Assignees
Labels
Customer Report Issues or PRs that were reported via Happiness. Previously known as "Happiness Request". [Feature Group] Editor Experience Features related to Gutenberg integration on WordPress.com. [Feature] Post/Page Editor The editor for editing posts and pages. Groundskeeping Issues handled through Dotcom Groundskeeping rotations [Platform] Simple [Pri] High Address as soon as possible after BLOCKER issues [Product] WordPress.com All features accessible on and related to WordPress.com. [Status] Escalated to Product Ambassadors [Type] Bug

Comments

@supernovia
Copy link
Contributor

supernovia commented Jan 10, 2025

Quick summary

Several users have recently complained about issues with editing content in their posts. The complaints may show up as:

  • missing cursor
  • can't cut text
  • can't paste
  • can't replace a word

The problem is intermittent, but the editor is impossible to use when it happens

Steps to reproduce

This is only intermittently reproducible. The key is to edit a post with several paragraphs, and try to perform several typical edit functions: cutting, copying, pasting, and typing new things in between -- generally treating it like a text editor.

In my case, I triple clicked to select a paragraph, then used keyboard shortcuts to cut and backspace the block.

What you expected to happen

I expect the editor to just work; I should be able to cut and paste and replace words as needed.

What actually happened

The system is intermittently unresponsive:

locked.editor.mov

It seems some blocks are affected and others are not:
https://github.com/user-attachments/assets/3fea6c36-4dd3-414b-a1e1-d93fe7a6a6b7

Console messages if they're useful:
Image

Impact

Some (< 50%)

Available workarounds?

Yes, difficult to implement

If the above answer is "Yes...", outline the workaround.

The error is to inconsistent to know if I've really got a fix, but so far changing to the code editor, editing some text, saving and going back seems to help, briefly, but I doubt most users would think to try that and I'm not sure if it always works.

Platform (Simple and/or Atomic)

Simple, and a customer reports the same issue for Atomic site

Logs or notes

So far I've only replicated on Simple, but as it's hard to replicate, that doesn't say much.

@supernovia supernovia added [Feature Group] Editor Experience Features related to Gutenberg integration on WordPress.com. [Feature] Post/Page Editor The editor for editing posts and pages. [Product] WordPress.com All features accessible on and related to WordPress.com. [Type] Bug Needs triage Ticket needs to be triaged labels Jan 10, 2025
@supernovia supernovia added Customer Report Issues or PRs that were reported via Happiness. Previously known as "Happiness Request". [Pri] High Address as soon as possible after BLOCKER issues labels Jan 10, 2025
@supernovia
Copy link
Contributor Author

This may be a case: 9214807-zd-a8c

@supernovia
Copy link
Contributor Author

There are several cases in the forums; here's one ticket related to that:
9110306-zd-a8c

Copy link

github-actions bot commented Jan 10, 2025

Support References

This comment is automatically generated. Please do not edit it.

@supernovia
Copy link
Contributor Author

Two cases here: 9178605-zd-a8c

@supernovia
Copy link
Contributor Author

Notes from a forums thread:

  • They can edit for a while before the problem starts
  • It happens across multiple browsers and devices (FF, Chrome, Edge on Windows and on Mac, even without extensions)
  • Clearing cache doesn't help
  • There are some console errors reported in this forum thread (I wasn't able to find similar errors in mine, though)
  • Several users are reporting the issue in that thread.

@supernovia
Copy link
Contributor Author

supernovia commented Jan 10, 2025

9267250-zd-a8c - this one is AT

@p-jackson p-jackson added the Groundskeeping Issues handled through Dotcom Groundskeeping rotations label Jan 13, 2025
@p-jackson p-jackson self-assigned this Jan 13, 2025
@p-jackson
Copy link
Member

p-jackson commented Jan 13, 2025

The screenshots from the forum show the issue happening in the iframe'd editor (i.e. the URL starts with wordpress.com/post/...). And the video at the top of this GH issue shows the issue happening in the wp-admin post editor.

So it's clearly reproducible in both editor environments.

I haven't been able to reproduce myself yet, but will keep trying off-and-on. Ideally I can reproduce it locally so I can pause in the debugger to see where we're getting stuck.

@Robertght
Copy link

I tried replicating this on my end on Firefox and Chrome, using a Simple and AT site but had no luck yet.

I pinged @supernovia in Slack with a few questions I had p1736768138386089/1736766055.524549-slack-C01UW7SB411

@Robertght Robertght removed the Needs triage Ticket needs to be triaged label Jan 13, 2025
@Robertght Robertght moved this from Needs Triage to In Triage in Automattic Prioritization: The One Board ™ Jan 13, 2025
@supernovia
Copy link
Contributor Author

@Robertght @p-jackson the users in the forums seem to keep alluding to scrolling issues, which I thought must be some other problem, but now I'm wondering if they're related, since it does seem the post must have several paragraphs for the issue to occur.

@getdave
Copy link
Contributor

getdave commented Jan 15, 2025

I also attempted to reproduce this but was unable even when created a large post with lots of images and also throttling my CPU.

There must be some very specific setup to reproduce. @supernovia Are you able to open a support session or get a copy of the post content where he's having problems?

@cuemarie
Copy link

Hey @getdave, are you referring to a specific user whose content you're looking for? The forum thread in question has 11 different end-users reporting similar problems.

@supernovia
Copy link
Contributor Author

@cuemarie if it helps I've got the video above; the cursor and basic editing functions just stop working. All of the users are experiencing that, from what I can see, though they aren't encountering it the same way.

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 Group] Editor Experience Features related to Gutenberg integration on WordPress.com. [Feature] Post/Page Editor The editor for editing posts and pages. Groundskeeping Issues handled through Dotcom Groundskeeping rotations [Platform] Simple [Pri] High Address as soon as possible after BLOCKER issues [Product] WordPress.com All features accessible on and related to WordPress.com. [Status] Escalated to Product Ambassadors [Type] Bug
Projects
Development

No branches or pull requests

5 participants