-
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
Block Library: Standardize post block placeholders. #23690
Conversation
Size Change: +2 B (0%) Total Size: 1.13 MB
ℹ️ View Unchanged
|
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.
@epiqueras Looks good to me! Thank you for your work (as always) ❤️
Non-blocking question! Do these values need to be wrapped with the i18n __()
function? 🤔
I'm not sure. Does it make sense to translate the block name? @mtias @youknowriad |
@epiqueras Yes, we should make all strings translatable. The block titles are already translated in the |
Definitely yes on the translations. |
Already merged :) |
Description
Some post blocks were not rendering anything when missing a post context. The placeholder content was also inconsistent. This PR fixes both points.
How has this been tested?
It was verified that post blocks used outside a post context, E.g., in the site editor's front template, render their name and all their relevant toolbar and inspector controls.
Checklist: