mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-04 21:19:01 +08:00
Merge remote-tracking branch 'baidu/master'
This commit is contained in:
commit
63adc76437
@ -204,7 +204,8 @@ export class Editor extends React.Component<EditorProps, any> {
|
||||
// json 默认开启验证。
|
||||
monaco.languages.json.jsonDefaults.setDiagnosticsOptions({
|
||||
enableSchemaRequest: true,
|
||||
validate: true
|
||||
validate: true,
|
||||
allowComments: true
|
||||
});
|
||||
|
||||
// After initializing monaco editor
|
||||
|
Loading…
Reference in New Issue
Block a user