Skip to content

Build your personal knowledge base with Trilium Notes

refactor(ckeditor5): remove unused method

Elian Doran2309863d646f
diff --git a/packages/ckeditor5/src/plugins/syntax_highlighting/index.ts b/packages/ckeditor5/src/plugins/syntax_highlighting/index.ts
index ef64303313..18c5fae9c5 100644
--- a/packages/ckeditor5/src/plugins/syntax_highlighting/index.ts
+++ b/packages/ckeditor5/src/plugins/syntax_highlighting/index.ts
@@ -359,11 +359,6 @@ if (debugLevel >= debugLevels.indexOf("warn")) {
warn = console.warn.bind(console, tag + ": ");
}
-let info = function (...args: unknown[]) {};
-if (debugLevel >= debugLevels.indexOf("info")) {
- info = console.info.bind(console, tag + ": ");
-}
-
let log = function (...args: unknown[]) {};
if (debugLevel >= debugLevels.indexOf("log")) {
log = console.log.bind(console, tag + ": ");