17 lines
260 B
JavaScript
17 lines
260 B
JavaScript
|
export const defaultEditorOptions = {
|
||
|
model: null,
|
||
|
readOnly: false,
|
||
|
contextmenu: true,
|
||
|
scrollBeyondLastLine: false,
|
||
|
minimap: {
|
||
|
enabled: false,
|
||
|
},
|
||
|
wordWrap: 'on',
|
||
|
};
|
||
|
|
||
|
export default [
|
||
|
{
|
||
|
readOnly: model => !!model.file.file_lock,
|
||
|
},
|
||
|
];
|