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

More padding options #1578

Merged
merged 5 commits into from
Aug 19, 2024
Merged

More padding options #1578

merged 5 commits into from
Aug 19, 2024

Conversation

TomWoodward
Copy link
Member

@TomWoodward TomWoodward commented Aug 19, 2024

syncs some of the options support between sections and heroes. adds a lot of help text to the form.

related to openstax/os-webview#2662

@TomWoodward TomWoodward requested a review from mwvolo August 19, 2024 21:07
question = blocks.RichTextBlock(required=True, help_text='The visible text of the question (does not collapse).')
slug = blocks.CharBlock(required=True, help_text='Not visible to user, must be unique in this FAQ.')
answer = blocks.RichTextBlock(required=True, help_text='The answer to the question, is hidden until the question is expanded.')
document = DocumentChooserBlock(required=False, help_text='Not sure this does anything.')
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this originally was so you could link to a PDF, but yeah, not sure if it still works

@TomWoodward TomWoodward merged commit 4314fa9 into main Aug 19, 2024
2 checks passed
@TomWoodward TomWoodward deleted the more-padding-options branch August 19, 2024 21:30
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

Successfully merging this pull request may close these issues.

2 participants