This commit is contained in:
parent
24e287d80f
commit
0fdac67a8d
2 changed files with 3 additions and 1 deletions
|
@ -434,6 +434,8 @@
|
|||
color: var(--b3-theme-on-surface);
|
||||
word-break: break-word;
|
||||
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>');
|
||||
}
|
||||
});
|
||||
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
Reference in a new issue