mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-06 08:48:49 +01:00
This commit is contained in:
parent
dd1554e997
commit
1e11df1222
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue