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

More block: Undo does not work reliably for the custom text #58875

Open
carolinan opened this issue Feb 9, 2024 · 0 comments
Open

More block: Undo does not work reliably for the custom text #58875

carolinan opened this issue Feb 9, 2024 · 0 comments
Assignees
Labels
[Block] More Affects the More Block - used for displaying the 'Read More' link [Type] Bug An existing feature does not function as intended

Comments

@carolinan
Copy link
Contributor

Description

In the more block, the capitalised READ MORE text in between the dashed lines can be edited.
If you edit the text and use the undo command or button, the text change is not undone.

Step-by-step reproduction instructions

Add a more block to a post or page.
Place the cursor anywhere inside the READ MORE default text, and enter a new text.
Save.
Try to use the undo button. The text change is not undone.

Test two:
Add a more block.
Customize the text.
Add two new paragraphs.
Use the undo button 4 times:

  1. The most recent paragraph is undone, which is correct
  2. The first paragraph is undone, which is correct
  3. There is a small shift in the layout of the read more block. This is not correct. The text change is meant to be undone.
  4. The more block is removed. This undo step happens without the text in the block being undone.

Screenshots, screen recording, code snippet

No response

Environment info

WordPress 6.4.3 without Gutenberg active

Please confirm that you have searched existing issues in the repo.

Yes

Please confirm that you have tested with all plugins deactivated except Gutenberg.

Yes

@carolinan carolinan added [Type] Bug An existing feature does not function as intended [Block] More Affects the More Block - used for displaying the 'Read More' link labels Feb 9, 2024
@carolinan carolinan self-assigned this Apr 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Block] More Affects the More Block - used for displaying the 'Read More' link [Type] Bug An existing feature does not function as intended
Projects
Status: Needs development
Development

No branches or pull requests

1 participant