-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Appender: fix initial position #66711
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: +17 B (0%) Total Size: 1.82 MB
ℹ️ View Unchanged
|
Thanks for fixing this up! 🙇 |
Co-authored-by: t-hamano <wildworks@git.wordpress.org> Co-authored-by: ellatrix <ellatrix@git.wordpress.org>
Fixes #66708
Follow up #66630 (See this comment:)
What?
Fixes the position of the "fake" appender that is rendered when the document is empty.
Why?
As I understand it, the initial appender (
.block-editor-default-block-appender .block-editor-inserter
) is rendered outside the canvas, and the default appender (.block-editor-block-list__empty-block-inserter.block-editor-block-list__empty-block-inserter
) after clicking on the block is rendered inside the canvas.I think this is because #66630 removed the CSS related to the initial appender from
content.css
.How?
Re-add only the initial appender's CSS to
content.css
. At the same time, improve the comments about the appender.Testing Instructions
Screenshots or screencast