diff --git a/app/src/protyle/wysiwyg/index.ts b/app/src/protyle/wysiwyg/index.ts index 5a2e315b7..60586683d 100644 --- a/app/src/protyle/wysiwyg/index.ts +++ b/app/src/protyle/wysiwyg/index.ts @@ -2025,7 +2025,7 @@ export class WYSIWYG { focusByRange(range); } - if (ctrlIsPressed) { + if (ctrlIsPressed && range.toString() === "") { let ctrlElement = hasClosestBlock(event.target); if (ctrlElement) { ctrlElement = getTopAloneElement(ctrlElement) as HTMLElement;