fix: disable ambiguousCharacters highlight

This commit is contained in:
Baoshuo Ren 2023-02-09 06:56:00 +08:00
parent b7347e76a2
commit 08a2281d17
Signed by: baoshuo
GPG Key ID: 00CB9680AB29F51A

View File

@ -99,6 +99,9 @@ function blog_editor_init(name, editor_config) {
}, },
wordWrap: 'on', wordWrap: 'on',
theme: 'vs', theme: 'vs',
unicodeHighlight: {
ambiguousCharacters: false,
},
}); });
monaco_editor_instance.getModel().setValue(input_content_md.val()); monaco_editor_instance.getModel().setValue(input_content_md.val());