blob: dac2a8e8b51faf011863351034ce57e51365fa26 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
export const defaultEditorOptions = {
model: null,
readOnly: false,
contextmenu: true,
scrollBeyondLastLine: false,
minimap: {
enabled: false,
},
wordWrap: 'on',
};
export default [
{
readOnly: model => Boolean(model.file.file_lock),
quickSuggestions: model => !(model.language === 'markdown'),
},
];
|