mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-27 01:14:07 +01:00
💄
This commit is contained in:
parent
47df8b6018
commit
12ce85ca5e
2 changed files with 4 additions and 0 deletions
|
|
@ -1054,6 +1054,7 @@ export const iframeMenu = (protyle: IProtyle, nodeElement: Element) => {
|
|||
const iframeElement = nodeElement.querySelector("iframe");
|
||||
let html = nodeElement.outerHTML;
|
||||
const subMenus: IMenu[] = [{
|
||||
iconHTML: "",
|
||||
label: `<div class="fn__hr--small"></div><textarea rows="1" class="b3-text-field fn__size200" placeholder="${window.siyuan.languages.link}">${iframeElement.getAttribute("src") || ""}</textarea><div class="fn__hr--small"></div>`,
|
||||
bind(element) {
|
||||
element.querySelector("textarea").addEventListener("change", (event) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue