mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-02 13:41:48 +01:00
Signed-off-by: Daniel <845765@qq.com>
This commit is contained in:
parent
08ef0bd2dc
commit
6eacd57ae7
1 changed files with 1 additions and 1 deletions
|
|
@ -777,7 +777,7 @@ export class Toolbar {
|
|||
currentNode.textContent = currentNode.textContent.substring(1);
|
||||
}
|
||||
if (previousElement.textContent.endsWith(Constants.ZWSP)) {
|
||||
previousElement.textContent = previousElement.textContent.substring(0, previousElement.textContent.length - 2);
|
||||
previousElement.textContent = previousElement.textContent.substring(0, previousElement.textContent.length - 1);
|
||||
}
|
||||
} else {
|
||||
const previousType = previousElement ? (previousElement.getAttribute("data-type") || "").split(" ") : [];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue