Components · Code editor
Code editor
A themed container for a Monaco editor; Monaco owns the editable content and syntax rendering inside it.
Anatomy
- 1
.code-editor-rootMonaco mounting surface and clipping boundary.
--md-sys-color-primary: #3a5ea4;
When to use
Use a code editor when people must directly edit structured source with language-aware feedback.