From 6c70bd6ed6b58e95dd03c7cb0cb51f0c335cc488 Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Sun, 18 May 2025 19:16:44 +0300 Subject: [PATCH] chore(highlightjs): reintroduce no syntax highlight --- .../options/text_notes/code_block.ts | 33 ++++++++++++++----- 1 file changed, 25 insertions(+), 8 deletions(-) diff --git a/apps/client/src/widgets/type_widgets/options/text_notes/code_block.ts b/apps/client/src/widgets/type_widgets/options/text_notes/code_block.ts index d72385ecf..0a97d37d3 100644 --- a/apps/client/src/widgets/type_widgets/options/text_notes/code_block.ts +++ b/apps/client/src/widgets/type_widgets/options/text_notes/code_block.ts @@ -74,10 +74,10 @@ export default class CodeBlockOptions extends OptionsWidget { for (const [key, themes] of Object.entries(themeGroups)) { const $group = key ? $("").attr("label", key) : null; - for (const [id, theme] of Object.entries(themes)) { + for (const theme of themes) { const option = $("