feat(search): 搜索显示文档标题 (#15969)

- 在搜索功能中新增标题渲染选项
- 更新相关的渲染配置
This commit is contained in:
Achuan-2 2025-10-02 17:17:12 +08:00 committed by GitHub
parent 95a2bd0a83
commit bf1172b05e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 15 additions and 2 deletions

View file

@ -239,7 +239,8 @@ export const genSearch = (app: App, config: Config.IUILayoutTabSearchConfig, ele
blockId: "",
render: {
gutter: true,
breadcrumbDocName: true
breadcrumbDocName: true,
title: true
},
});
edit.resize();
@ -247,7 +248,8 @@ export const genSearch = (app: App, config: Config.IUILayoutTabSearchConfig, ele
blockId: "",
render: {
gutter: true,
breadcrumbDocName: true
breadcrumbDocName: true,
title: true
},
});
unRefEdit.resize();