mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-06 16:58:49 +01:00
Merge remote-tracking branch 'origin/dev' into dev
This commit is contained in:
commit
35942795f2
1 changed files with 2 additions and 8 deletions
|
|
@ -3,13 +3,7 @@ import {getRandom, isMobile} from "../../util/functions";
|
|||
import {hideElements} from "../ui/hideElements";
|
||||
import {uploadFiles} from "../upload";
|
||||
import {fetchPost} from "../../util/fetch";
|
||||
import {
|
||||
getRandomEmoji,
|
||||
openEmojiPanel,
|
||||
unicode2Emoji,
|
||||
updateFileTreeEmoji,
|
||||
updateOutlineEmoji
|
||||
} from "../../emoji";
|
||||
import {getRandomEmoji, openEmojiPanel, unicode2Emoji, updateFileTreeEmoji, updateOutlineEmoji} from "../../emoji";
|
||||
import {upDownHint} from "../../util/upDownHint";
|
||||
/// #if !MOBILE
|
||||
import {openGlobalSearch} from "../../search/util";
|
||||
|
|
@ -322,7 +316,7 @@ export class Background {
|
|||
dialog.destroy();
|
||||
});
|
||||
btnsElement[1].addEventListener("click", () => {
|
||||
const style = `background-image:url(${dialog.element.querySelector("input").value});`;
|
||||
const style = `background-image:url("${dialog.element.querySelector("input").value}");`;
|
||||
this.ial["title-img"] = style;
|
||||
this.render(this.ial, protyle.block.rootID);
|
||||
fetchPost("/api/attr/setBlockAttrs", {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue