-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Quote block: button for cite add/remove #59073
Conversation
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.
To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
Size Change: -1.1 kB (0%) Total Size: 1.72 MB
ℹ️ View Unchanged
|
Flaky tests detected in b4c8097. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/7976958953
|
Not sure why this would be an issue with this branch. Probably a styling issue with the inserter on quote block which seems out of scope for this PR. I don't see the current theme I have enabled. Updating the icon now. |
06a2f75
to
5dfe5c6
Compare
Icon changed. |
} | ||
/> | ||
) } | ||
<Caption |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we skip doing this for the pullquote block?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for looking at this. This is feature that doesn't warrant being so visible, and it's nice to address that long standing problem of the hanging placeholder.
Seems fine to fix separately, but the the issue is invisible in trunk, but super visible here, so if we merge this one, we will need to fix the other issue shortly after. |
@jasmussen What if we just remove the appender? It doesn't seem so useful in the quote block. You can press enter and use the empty inserter. |
IMO we need to track down why the quote block uses a different appender than the group block. It's outputting different CSS classes. As a container block of anything, it seems prudent to be consistent with other containers. |
b480cdc
to
45a9eea
Compare
45a9eea
to
d67fad9
Compare
d67fad9
to
c11e787
Compare
@dcalhoun Ah, thanks! I missed that. I re-applied your change but without the pull quote changes which were reverted for the web side as well. |
* test: Define missing `logException` native module mock Prevent cryptic test failure messages originating from invoking this undefined method, which prevented the original error message from surfacing in the test failure log. * refactor: Export private API Rich Text module This export was added for interoperability with the web version modified in #58916.
Co-authored-by: ellatrix <ellatrix@git.wordpress.org> Co-authored-by: mtias <matveb@git.wordpress.org> Co-authored-by: jasmussen <joen@git.wordpress.org>
What?
All blocks with caption currently have a button to add/remove the caption. But not quote, which has caption-like logic. Let's do the same for caption and reuse the existing caption util.
Not sure if this helps with #15308.
Why?
How?
Testing Instructions
Testing Instructions for Keyboard
Screenshots or screencast