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

Merge "Notice" and "Callout" blocks #336

Open
1 task
ryelle opened this issue Feb 10, 2023 · 0 comments
Open
1 task

Merge "Notice" and "Callout" blocks #336

ryelle opened this issue Feb 10, 2023 · 0 comments

Comments

@ryelle
Copy link
Contributor

ryelle commented Feb 10, 2023

The handbook code registers a "Callout" block, which behaves fairly similarly to the Notice block. It's confusing to have the two of them, so we should likely deprecate the Callout block (since the Notice block is styled to match the new redesign).

First, check if there are features of Callout to implement in Notice.

  • Callout uses InnerBlocks and allows paragraphs & lists. Notice uses a RichText and only allows paragraphs & inline elements.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant