config.dependencies.question_editor_api.preload - Initialization - Author API

Author API Initialization


Controls whether the Question Editor API is initially loaded at the same time as Author API.

You would want to use this to prevent the loading of Question Editor API until the author attempts to edit an Item or Widget (Question or Feature). Setting this to false will improve the initial loading time of Author API.


// Disable the initial pre-loading of Question Editor API
var initializationOptions = {
    "config": {
        "dependencies": {
            "question_editor_api": {
                "preload": false


Attribute path config.dependencies.question_editor_api.preload

Default true

Type boolean

Possible values

  • true loads Question Editor API when Author API is first loaded.

  • false loads Question Editor API when the author views the Item editor page, for views which allow the author to edit Items or Widgets.

Related articles

Was this article helpful?

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