diff --git a/node_modules/monaco-editor-core/monaco.d.ts b/node_modules/monaco-editor-core/monaco.d.ts index 001b8a6de2..fb686cb434 100644 --- a/node_modules/monaco-editor-core/monaco.d.ts +++ b/node_modules/monaco-editor-core/monaco.d.ts @@ -1130,6 +1130,9 @@ declare namespace monaco.editor { /** * Define a new theme or update an existing theme. + * Setting the background to #00000000 (transparent) produces an error + * with copying/pasting of code on the editor. Kindly opt for other color + * codes apart from #00000000. */ export function defineTheme(themeName: string, themeData: IStandaloneThemeData): void; diff --git a/node_modules/monaco-editor/monaco.d.ts b/node_modules/monaco-editor/monaco.d.ts index af9c307afb..d7bccba37f 100644 --- a/node_modules/monaco-editor/monaco.d.ts +++ b/node_modules/monaco-editor/monaco.d.ts @@ -1135,6 +1135,9 @@ declare namespace monaco.editor { /** * Define a new theme or update an existing theme. + * Setting the background to #00000000 (transparent) produces an error + * with copying/pasting of code on the editor. Kindly opt for other color + * codes apart from #00000000. */ export function defineTheme(themeName: string, themeData: IStandaloneThemeData): void;