mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-23 10:00:13 +01:00
This commit is contained in:
parent
24e287d80f
commit
0fdac67a8d
2 changed files with 3 additions and 1 deletions
|
|
@ -1036,7 +1036,7 @@ export const imgMenu = (protyle: IProtyle, range: Range, assetElement: HTMLEleme
|
|||
assetElement.querySelector(".protyle-action__drag").insertAdjacentHTML("afterend", '<span class="img__net"><svg><use xlink:href="#iconLanguage"></use></svg></span>');
|
||||
}
|
||||
});
|
||||
textElements[1].value = titleElement.textContent;
|
||||
textElements[1].value = titleElement.innerText;
|
||||
textElements[1].addEventListener("input", (event) => {
|
||||
const value = (event.target as HTMLInputElement).value;
|
||||
imgElement.setAttribute("title", value);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue