🎨 Turn off autocomplete and spellcheck in the search input box https://github.com/siyuan-note/siyuan/issues/16031

Signed-off-by: Daniel <845765@qq.com>
This commit is contained in:
Daniel 2025-10-09 17:35:57 +08:00
parent a9aeda5d9a
commit 1804a2e7d2
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
2 changed files with 2 additions and 2 deletions

View file

@ -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%">