google / blockly

The web-based visual programming editor.
https://developers.google.com/blockly/
Apache License 2.0
12.51k stars 3.72k forks source link

Add documentation for `modalInputs` option in the configuration struct #8580

Open rachel-fenichel opened 2 months ago

rachel-fenichel commented 2 months ago

Location

https://developers.google.com/blockly/guides/configure/web/configuration_struct

Type

Suggested content

Add a row:

Name: modalInputs Type: boolean Description: If true show modal editors for text input fields and their subclasses when on mobile devices, and an inline editor on desktop. If false show an inline editor on both desktop and mobile. Defaults to true.

Additional context

This option was added in https://github.com/google/blockly/pull/6625