custom_feature_types - Initialization - Question Editor API

Question Editor API Initialization

custom_feature_types

Use Question Editor as a WYSIWYG tool for creating and previewing custom Feature content.

You would want to use this to edit and interact with custom Feature types in Question Editor as if they were native Learnosity Feature types.

This property supports the same configuration options as custom_question_types.

Values

Attribute path custom_feature_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

    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.

Related articles

Was this article helpful?

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