mirror of
https://gitee.com/baidu/amis.git
synced 2024-11-30 10:59:42 +08:00
24 lines
552 B
TypeScript
24 lines
552 B
TypeScript
/**
|
|
* monaco 加载没搞定,可能后续会先 mock
|
|
*/
|
|
|
|
export const languages = {
|
|
register: function (language: any) {},
|
|
setMonarchTokensProvider: function (name: any, tokens: any) {},
|
|
registerCompletionItemProvider: function (name: any, provider: any) {}
|
|
};
|
|
|
|
export const editor = {
|
|
defineTheme: function (name: any, theme: any) {},
|
|
create: function (name: any, theme: any) {
|
|
return {
|
|
onDidChangeModelDecorations: () => {
|
|
return {
|
|
dispose: () => {}
|
|
};
|
|
},
|
|
dispose: () => {}
|
|
};
|
|
}
|
|
};
|