Optional
locale?: Locale | "auto"The locale to use for displaying text, formatting numbers etc.
auto
will automatically detect the user's locale based on their browser settings. If this doesn't match a supported locale, it will fall back to en
.
Optional
unit?: UnitThe unit system for measurements shown in the UI.
Optional
ruler?: { Configuration for the ruler feature.
Controls whether the ruler is shown by default when the editor loads.
Configuration options for the user interface.