mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-05-17 09:30:48 +08:00
This commit is contained in:
parent
24e287d80f
commit
0fdac67a8d
@ -434,6 +434,8 @@
|
|||||||
color: var(--b3-theme-on-surface);
|
color: var(--b3-theme-on-surface);
|
||||||
word-break: break-word;
|
word-break: break-word;
|
||||||
white-space: break-spaces;
|
white-space: break-spaces;
|
||||||
|
line-height: normal;
|
||||||
|
padding: 4px 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -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>');
|
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) => {
|
textElements[1].addEventListener("input", (event) => {
|
||||||
const value = (event.target as HTMLInputElement).value;
|
const value = (event.target as HTMLInputElement).value;
|
||||||
imgElement.setAttribute("title", value);
|
imgElement.setAttribute("title", value);
|
||||||
|
Loading…
Reference in New Issue
Block a user