mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-03-06 12:50:16 +01:00
🚨
This commit is contained in:
parent
cdae86d50b
commit
5b30b60bf7
5 changed files with 9 additions and 9 deletions
|
|
@ -409,8 +409,8 @@ ${window.siyuan.languages.createdAt} ${dayjs(response.data.ial.id.substr(0, 14))
|
|||
return false;
|
||||
}
|
||||
this.element.setAttribute("data-node-id", protyle.block.rootID);
|
||||
if (response.data.ial['custom-riff-decks']) {
|
||||
this.element.setAttribute("custom-riff-decks", response.data.ial['custom-riff-decks']);
|
||||
if (response.data.ial["custom-riff-decks"]) {
|
||||
this.element.setAttribute("custom-riff-decks", response.data.ial["custom-riff-decks"]);
|
||||
}
|
||||
protyle.background.render(response.data.ial, protyle.block.rootID);
|
||||
protyle.wysiwyg.renderCustom(response.data.ial);
|
||||
|
|
|
|||
|
|
@ -448,8 +448,8 @@ export const onTransaction = (protyle: IProtyle, operation: IOperation, focus: b
|
|||
if (refElement) {
|
||||
nodeAttrHTML += refElement.outerHTML;
|
||||
}
|
||||
if (data.new['custom-riff-decks']) {
|
||||
protyle.title.element.setAttribute("custom-riff-decks", data.new['custom-riff-decks']);
|
||||
if (data.new["custom-riff-decks"]) {
|
||||
protyle.title.element.setAttribute("custom-riff-decks", data.new["custom-riff-decks"]);
|
||||
} else {
|
||||
protyle.title.element.removeAttribute("custom-riff-decks");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue