mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-20 22:14:06 +01:00
Merge remote-tracking branch 'origin/dev' into dev
This commit is contained in:
commit
d4c9159540
3 changed files with 3 additions and 3 deletions
|
|
@ -717,7 +717,7 @@ export const popSearch = (app: App, searchConfig?: any) => {
|
|||
<svg class="svg--mid"><use xlink:href="#iconSearch"></use></svg>
|
||||
<svg class="svg--smaller"><use xlink:href="#iconDown"></use></svg>
|
||||
</span>
|
||||
<input id="toolbarSearch" placeholder="${window.siyuan.languages.showRecentUpdatedBlocks}" class="toolbar__title fn__block" autocomplete="off" spellcheck="false">
|
||||
<input id="toolbarSearch" placeholder="${window.siyuan.languages.showRecentUpdatedBlocks}" class="toolbar__title fn__block" autocomplete="off" autocorrect="off" spellcheck="false">
|
||||
<svg id="toolbarSearchNew" class="toolbar__icon"><use xlink:href="#iconFile"></use></svg>
|
||||
</div>`,
|
||||
html: `<div class="fn__flex-column" style="height: 100%">
|
||||
|
|
|
|||
|
|
@ -135,7 +135,7 @@ export const genSearch = (app: App, config: Config.IUILayoutTabSearchConfig, ele
|
|||
<svg data-menu="true" class="b3-form__icon-icon"><use xlink:href="#iconSearch"></use></svg>
|
||||
<svg class="search__arrowdown"><use xlink:href="#iconDown"></use></svg>
|
||||
</span>
|
||||
<input id="searchInput" class="b3-text-field b3-text-field--text" placeholder="${window.siyuan.languages.showRecentUpdatedBlocks}" autocomplete="off" spellcheck="false">
|
||||
<input id="searchInput" class="b3-text-field b3-text-field--text" placeholder="${window.siyuan.languages.showRecentUpdatedBlocks}" autocomplete="off" autocorrect="off" spellcheck="false">
|
||||
</div>
|
||||
<div class="block__icons">
|
||||
<span id="searchFilter" aria-label="${window.siyuan.languages.searchType}" class="block__icon ariaLabel" data-position="9south">
|
||||
|
|
|
|||
|
|
@ -100,7 +100,7 @@ func GetParentFoldedHeading(node *ast.Node) (parentFoldedHeading *ast.Node) {
|
|||
}
|
||||
|
||||
if n.HeadingLevel >= currentLevel {
|
||||
break
|
||||
continue
|
||||
}
|
||||
currentLevel = n.HeadingLevel
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue