Vanessa 2024-09-09 23:23:03 +08:00
parent 24a0a94251
commit 30165bd03a

View file

@ -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