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

Add note in docs that unnamed slots can't have default content #174

Open
ryanbethel opened this issue Oct 12, 2023 · 1 comment
Open

Add note in docs that unnamed slots can't have default content #174

ryanbethel opened this issue Oct 12, 2023 · 1 comment
Labels
docs Additions or changes to documentation

Comments

@ryanbethel
Copy link
Contributor

Unnamed slots can't have default content. This does not make sense but it was done to match browser behavior. We should add a note to call this out in the docs.

@ryanbethel ryanbethel added the docs Additions or changes to documentation label Oct 12, 2023
@kristoferjoseph
Copy link
Contributor

Unlike Astro, which did not follow the standard, Enhance does not permit default content in slots because it uses the web component slotting standard specification.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Additions or changes to documentation
Projects
None yet
Development

No branches or pull requests

2 participants