-
|
Hi, does anyone know how to disable the sidebar that is highlighted in blue? it seems to appear when the readOnly option is set to false. When the readOnly is true, the blue bar does not appear. <DiffEditor |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
I had to override the outline width in my stylesheet: .gutter.monaco-editor {
outline-width: 0;
} |
Beta Was this translation helpful? Give feedback.

Thanks! I figured it out, the solution is to add this in the options:
renderGutterMenu: false,Completely missed it in the documentation, https://microsoft.github.io/monaco-editor/typedoc/interfaces/editor.IDiffEditorBaseOptions.html#renderGutterMenu