From 08a2281d175af2b6f1f2a45e17f3015e0053bc57 Mon Sep 17 00:00:00 2001 From: Baoshuo Date: Thu, 9 Feb 2023 06:56:00 +0800 Subject: [PATCH] fix: disable ambiguousCharacters highlight --- web/js/blog-editor/blog-editor.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/web/js/blog-editor/blog-editor.js b/web/js/blog-editor/blog-editor.js index 44d5f46..ec0ed2e 100644 --- a/web/js/blog-editor/blog-editor.js +++ b/web/js/blog-editor/blog-editor.js @@ -99,6 +99,9 @@ function blog_editor_init(name, editor_config) { }, wordWrap: 'on', theme: 'vs', + unicodeHighlight: { + ambiguousCharacters: false, + }, }); monaco_editor_instance.getModel().setValue(input_content_md.val());