diff --git a/src/public/app/widgets/type_widgets/ckeditor/syntax_highlight.ts b/src/public/app/widgets/type_widgets/ckeditor/syntax_highlight.ts index 36d7f0f40..7ad0424ac 100644 --- a/src/public/app/widgets/type_widgets/ckeditor/syntax_highlight.ts +++ b/src/public/app/widgets/type_widgets/ckeditor/syntax_highlight.ts @@ -25,7 +25,7 @@ const HIGHLIGHT_MAX_BLOCK_COUNT = 500; const tag = "SyntaxHighlightWidget"; const debugLevels = ["error", "warn", "info", "log", "debug"]; -const debugLevel = debugLevels.indexOf("debug"); +const debugLevel = debugLevels.indexOf("warn"); let warn = function (...args: unknown[]) {}; if (debugLevel >= debugLevels.indexOf("warn")) {