mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-03-08 21:52:33 +01:00
🎨 outline add emoji
This commit is contained in:
parent
aae6247e3c
commit
feb2bc9a0d
6 changed files with 32 additions and 15 deletions
|
|
@ -4,7 +4,7 @@ import {hideElements} from "../ui/hideElements";
|
|||
import {uploadFiles} from "../upload";
|
||||
import {hideMessage} from "../../dialog/message";
|
||||
import {fetchPost} from "../../util/fetch";
|
||||
import {getRandomEmoji, openEmojiPanel, unicode2Emoji, updateFileTreeEmoji} from "../../emoji";
|
||||
import {getRandomEmoji, openEmojiPanel, unicode2Emoji, updateFileTreeEmoji, updateOutlineEmoji} from "../../emoji";
|
||||
import {upDownHint} from "../../util/upDownHint";
|
||||
import {setPosition} from "../../util/setPosition";
|
||||
import {openGlobalSearch} from "../../search/util";
|
||||
|
|
@ -232,6 +232,7 @@ export class Background {
|
|||
this.ial.icon = emoji;
|
||||
this.render(this.ial, protyle.block.rootID);
|
||||
updateFileTreeEmoji(emoji, protyle.block.rootID);
|
||||
updateOutlineEmoji(emoji);
|
||||
fetchPost("/api/attr/setBlockAttrs", {
|
||||
id: protyle.block.rootID,
|
||||
attrs: {"icon": emoji}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue