Auto List Insertion (Deprecated)

Deprecated

Version: v2.20.2509, v3.2.2509 and above

Replacement option: editor.autoAction

The editor.autoList option is no longer used and has been replaced by the editor.autoAction option.

Using editor.autoAction, you can define various automatic actions, and the existing editor.autoList functionality (*, -, #, 1. + space) can be configured the same way.

  • Legacy environment: Setting editor.autoList to false also disables editor.autoAction.
  • New environment: It is recommended to use the editor.autoAction option alone.

Release 2.7.0 and above.

Auto list insertion is a feature that automatically inserts a list when Space is entered after text like *, -, #, 1., etc.

By setting editor.autoList to false, you can configure so that lists are not automatically inserted. (default: true)

const synapEditorConfig = {
    ...
    /**
     * Configures whether to use the function of inserting bullets/numbers using '*, -, #, 1. + space'.
     */
    'editor.autoList': true,
    ...
};
<table> <thead> <tr><th><code>editor.autoList: true</code> (default)</th><th><code>editor.autoList: false</code></th></tr> </thead> <tbody> <tr> <td>

autoList true

</td> <td>

autoList false

</td> </tr> </tbody> </table>