-
Notifications
You must be signed in to change notification settings - Fork 16
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 some more block types #1573
Conversation
@@ -105,6 +109,11 @@ class RootPage(Page): | |||
('image', APIImageChooserBlock(required=False)), | |||
('image_alt', blocks.CharBlock(required=False)), | |||
('config', blocks.StreamBlock([ | |||
('id', blocks.RegexBlock( |
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.
are the options for this going to be documented somewhere?
how do you expect this will be used?
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.
the id is the HTML id, which can be used in anchor links to link to a part of the page
i should probably go through and add some more useful help text to all the options. i was also gonna make some persistent pages on dev
to showcase the different content types
adds