mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-24 09:16:09 +01:00
This commit is contained in:
parent
24a0a94251
commit
30165bd03a
1 changed files with 2 additions and 1 deletions
|
|
@ -1659,7 +1659,8 @@ export class WYSIWYG {
|
|||
}
|
||||
|
||||
protyle.toolbar.range = getEditorRange(protyle.element);
|
||||
if (target.tagName === "SPAN") { // https://ld246.com/article/1665141518103
|
||||
|
||||
if (target.tagName === "SPAN" && !isNotEditBlock(nodeElement)) { // https://ld246.com/article/1665141518103
|
||||
let types = protyle.toolbar.getCurrentType(protyle.toolbar.range);
|
||||
if (types.length === 0) {
|
||||
// https://github.com/siyuan-note/siyuan/issues/8960
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue