From 5f544291e5baa4759d045ea73b1404aaef57e977 Mon Sep 17 00:00:00 2001 From: YangQi Date: Sat, 29 Jul 2023 12:17:46 +0800 Subject: [PATCH] fix: locate the bug (#233) * fix: locate the bug * fix: update regular expression * fix #196 --- src/components/CodemirrorEditor/EditorHeader/index.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/CodemirrorEditor/EditorHeader/index.vue b/src/components/CodemirrorEditor/EditorHeader/index.vue index 29ec3d4..d876522 100644 --- a/src/components/CodemirrorEditor/EditorHeader/index.vue +++ b/src/components/CodemirrorEditor/EditorHeader/index.vue @@ -341,8 +341,8 @@ export default { clipboardDiv.innerHTML = mergeCss(clipboardDiv.innerHTML) if (this.isMacCodeBlock) { clipboardDiv.innerHTML = clipboardDiv.innerHTML.replaceAll( - /(