Question Editor API Initialization
custom_question_types
This config allows you to use Question Editor as a WYSIWYG tool for creating and previewing custom feature content. Provide the custom_question_types config to edit and interact with custom feature types in Question Editor as if they were native Learnosity feature types.
Values
Attribute path custom_question_types
Type object
Properties
-
custom_type string
Define the unique type for your custom Question / Feature.
-
type string
This must be set to
custom
for it to be correctly interpreted by the Question Editor. -
name string
Name of your custom Question / Feature.
-
version string
Optional version string of your custom Question / Feature.
-
editor_layout string
Hyperlink string that is used to define the layout of your custom Question / Feature when authoring with Question Editor.
-
js object
Mandatory property - either a string or an object containing hyperlink string(s) that will be used to render your custom Question / Feature.
-
editor_schema object
Base schemas of the custom Question / Feature.