mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-07-03 14:09:06 +02:00
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user