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

What is a Container Blot? #66

Closed
andrei-cacio opened this issue Jan 21, 2019 · 1 comment
Closed

What is a Container Blot? #66

andrei-cacio opened this issue Jan 21, 2019 · 1 comment

Comments

@andrei-cacio
Copy link

The docs only cover these three blots: Block, Inline and Embed. However, if we look at how the List blot is built it inherits from the Container blot.

What exactly does a Container blot do and when it should be used?

@jhchen
Copy link
Member

jhchen commented Jan 21, 2019

Blots have to either provide content (text/embeds) or formatting (bold, italic) otherwise they are considered unnecessary and removed. Containers are an exception to that since in valid HTML there is sometimes redundant markup. Containers are still somewhat experimental and its interface is not stable so they are not documented yet.

@jhchen jhchen closed this as completed Jan 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants