mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-02 14:58:49 +01:00
This commit is contained in:
parent
c347a0d8d0
commit
7cf370d04c
1 changed files with 2 additions and 1 deletions
|
|
@ -244,7 +244,8 @@ export class Toolbar {
|
|||
|
||||
// https://github.com/siyuan-note/siyuan/issues/6501
|
||||
// https://github.com/siyuan-note/siyuan/issues/12877
|
||||
if (rangeTypes.length === 1 && ["block-ref", "file-annotation-ref", "a", "inline-memo", "inline-math", "tag"].includes(rangeTypes[0]) && type === "clear") {
|
||||
if (rangeTypes.length === 1 &&
|
||||
["block-ref", "virtual-block-ref", "file-annotation-ref", "a", "inline-memo", "inline-math", "tag"].includes(rangeTypes[0]) && type === "clear") {
|
||||
return;
|
||||
}
|
||||
const selectText = this.range.toString();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue