mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-21 17:10:12 +01:00
This commit is contained in:
parent
338851fcab
commit
1716436eca
13 changed files with 47 additions and 48 deletions
|
|
@ -183,7 +183,7 @@ export class Outline extends Model {
|
|||
const docTitleElement = this.headerElement.nextElementSibling as HTMLElement;
|
||||
if (this.type === "pin") {
|
||||
if (ial) {
|
||||
let iconHTML = `${unicode2Emoji(ial.icon || Constants.SIYUAN_IMAGE_FILE, false, "b3-list-item__graphic", true)}`;
|
||||
let iconHTML = `${unicode2Emoji(ial.icon || Constants.SIYUAN_IMAGE_FILE, "b3-list-item__graphic", true)}`;
|
||||
if (ial.icon === Constants.ZWSP && docTitleElement.firstElementChild) {
|
||||
iconHTML = docTitleElement.firstElementChild.outerHTML;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue