mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-22 09:30:14 +01:00
This commit is contained in:
parent
d6f1296dd1
commit
f660b2ddfa
1 changed files with 2 additions and 1 deletions
|
|
@ -1087,7 +1087,8 @@ export class Toolbar {
|
|||
}
|
||||
});
|
||||
this.subElementCloseCB = () => {
|
||||
if (!renderElement.parentElement || protyle.disabled || oldTextValue === textElement.value) {
|
||||
if (!renderElement.parentElement || protyle.disabled ||
|
||||
(oldTextValue === textElement.value && textElement.value)) {
|
||||
return;
|
||||
}
|
||||
let inlineLastNode: Element;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue