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
Removing a Quote from Paragraph Does Not Enable Save Draft Option #59668
Comments
Hi @akiashah - I'm not entirely sure what you mean by this part of your instructions:
Could you please elaborate a little? |
Hey @jordesign , If this is still confusing, I'm happy to create the video for this issue. Thanks |
Thanks for opening this! It would also be super helpful if you can share what version of WordPress you're using and/or Gutenberg. |
@annezazu , the WordPress version is 6.4.3 |
@annezazu , is there anything else that I may need to add? |
No! I just wanted to rule out it being a 6.5 RC related issue :) |
Help us move this issue forward. This issue is being marked stale since it has no activity after 15 days of requesting more information. Please add info requested so we can help move the issue forward. Note: The triage policy is to close stale issues that need more info and no response after 2 weeks. |
Description
After adding a paragraph and selecting a quote from it, the "Save Draft" option is enabled as expected. However, if the quote is subsequently removed from the paragraph, the "Save Draft" option does not get enabled again. This behavior suggests that the system does not recognize the removal of a quote as a change that warrants a draft save, potentially leading to loss of progress or confusion.
To generate this bug you need to click save draft after adding it to the paragraph.
Step-by-step reproduction instructions
Steps to reproduce the behavior:
Start editing or creating a new block.
Add a paragraph of text.
Select a portion of the text as a quote, triggering the "Save Draft" option to become active/enabled.
Save the draft with the quote included.
Edit the page again and remove the quote from the paragraph.
Observe the behaviour of the "Save Draft" option. it will be not enabled again
Screenshots, screen recording, code snippet
No response
Environment info
Expected behavior
It should enable the save draft option while removing the quote from the paragraph.
Desktop :
OS: MAC
Browser Chrome
Version 122.0.6261.94
Smartphone (please complete the following information):
NA
Additional context
Please create the quote paragraph first and save as draft after this only remove the quote you will find the issue.
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
The text was updated successfully, but these errors were encountered: