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

Removing a Quote from Paragraph Does Not Enable Save Draft Option #59668

Open
akiashah opened this issue Mar 7, 2024 · 7 comments
Open

Removing a Quote from Paragraph Does Not Enable Save Draft Option #59668

akiashah opened this issue Mar 7, 2024 · 7 comments
Labels
[Block] Quote Affects the Quote Block [Status] Needs More Info Follow-up required in order to be actionable. [Type] Bug An existing feature does not function as intended

Comments

@akiashah
Copy link

akiashah commented Mar 7, 2024

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

@akiashah akiashah added the [Type] Bug An existing feature does not function as intended label Mar 7, 2024
@jordesign jordesign added the [Block] Quote Affects the Quote Block label Mar 12, 2024
@jordesign
Copy link
Contributor

Hi @akiashah - I'm not entirely sure what you mean by this part of your instructions:

Select a portion of the text as a quote,

Could you please elaborate a little?

@jordesign jordesign added the [Status] Needs More Info Follow-up required in order to be actionable. label Mar 12, 2024
@akizwt-dev
Copy link

akizwt-dev commented Mar 12, 2024

Hey @jordesign ,
I apologise for the use of too much broad language.
I'm referring to the text that has been added to the element by anyone in the format of content.
For your understanding, I am sharing the screenshot link here. https://prnt.sc/9yDW5WwLPeS0

If this is still confusing, I'm happy to create the video for this issue.

Thanks

@annezazu
Copy link
Contributor

Thanks for opening this! It would also be super helpful if you can share what version of WordPress you're using and/or Gutenberg.

@akiashah
Copy link
Author

@annezazu , the WordPress version is 6.4.3

@akizwt-dev
Copy link

@annezazu , is there anything else that I may need to add?

@annezazu
Copy link
Contributor

No! I just wanted to rule out it being a 6.5 RC related issue :)

Copy link

github-actions bot commented Apr 4, 2024

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.

@github-actions github-actions bot added the [Status] Stale Gives the original author opportunity to update before closing. Can be reopened as needed. label Apr 4, 2024
@github-actions github-actions bot removed the [Status] Stale Gives the original author opportunity to update before closing. Can be reopened as needed. label Apr 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Block] Quote Affects the Quote Block [Status] Needs More Info Follow-up required in order to be actionable. [Type] Bug An existing feature does not function as intended
Projects
None yet
Development

No branches or pull requests

4 participants