base_question_type.shown_sections - Initialization - Question Editor API

Question Editor API Initialization

shown_sections

Define which attribute sections should be shown in this question type.

Common use cases for shown_sections would be if you want to show the more options content by default (e.g. add "more_options.content" to shown_sections and "more_options.heading" to hidden_sections) or if you want to hide a section except in one particular question type (e.g. put the hidden section in base_question_type and show the section in question_types).

If you'd like to specify your own sections, you can use a custom editor layout.

Values

Attribute path base_question_type.shown_sections

Type array

Related articles

Was this article helpful?

Did you arrive here by accident? If so, learn more about Learnosity.