This commit is contained in:
parent
f0c9203e33
commit
530f011686
1 changed files with 4 additions and 0 deletions
|
@ -84,6 +84,10 @@ export const input = async (protyle: IProtyle, blockElement: HTMLElement, range:
|
|||
wbrElement.remove();
|
||||
return;
|
||||
}
|
||||
// https://github.com/siyuan-note/siyuan/issues/9015
|
||||
if (trimStartText === "¥¥<wbr>") {
|
||||
editElement.innerHTML = "$$<wbr>";
|
||||
}
|
||||
const refElement = hasClosestByAttribute(range.startContainer, "data-type", "block-ref");
|
||||
if (refElement && refElement.getAttribute("data-subtype") === "d") {
|
||||
const response = await fetchSyncPost("/api/block/getRefText", {id: refElement.getAttribute("data-id")});
|
||||
|
|
Loading…
Add table
Reference in a new issue