This is a lower-level API. Lower-level APIs are not recommended for most projects, and may not be available on all plans. See our page on recommended deployment patterns for more information.
Initialization Option Question Editor API

response_shortcut

Allows author to insert response boxes by pressing an underscore key.

Enabling a shortcut doesn't affect a button on a toolbar which will still work. This option is only valid in a template field for the following question types: clozeassociation, clozedropdown, clozeinlinetext, clozetext, clozeformula, clozechemistry

Values

Request object key ui.editor.response_shortcut

Default: "doubleunderscore"

This option can be initialized as one of the following types: string boolean.

  • Type string
    Possible values:
    • "doubleunderscore" - to insert response box, you need to press underscore key twice, one after another.
    • "singleunderscore" - to insert response box, you need to press underscore key only once.
  • Type boolean

    To insert response box, you need to press a button on an editor toolbar.

    Possible value(s): false
Was this article helpful?