mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-22 00:06:09 +01:00
This commit is contained in:
parent
af382ca0b3
commit
90a8e679b3
1 changed files with 1 additions and 1 deletions
|
|
@ -22,7 +22,7 @@ export const input = async (protyle: IProtyle, blockElement: HTMLElement, range:
|
|||
if (blockElement.classList.contains("av")) {
|
||||
const avCursorElement = hasClosestByClassName(range.startContainer, "av__cursor");
|
||||
if (avCursorElement) {
|
||||
range.startContainer.textContent = Constants.ZWSP;
|
||||
avCursorElement.textContent = Constants.ZWSP;
|
||||
} else {
|
||||
updateAVName(protyle, blockElement);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue