@@ -103,7 +103,7 @@ export const genTabHeaderHTML = (data: IAV, showSearch: boolean, editable: boole
103103 <svg><use xlink:href="#iconSearch"></use></svg>
104104 </button>
105105 <div style="position: relative" class="fn__flex">
106- <div contenteditable="true " style="${ showSearch ? "width:128px" : "width:0;padding-left: 0;padding-right: 0;" } " data-type="av-search" class="b3-text-field b3-text-field--text" placeholder="${ window . siyuan . languages . search } "></div>
106+ <div contenteditable="plaintext-only " style="${ showSearch ? "width:128px" : "width:0;padding-left: 0;padding-right: 0;" } " data-type="av-search" class="b3-text-field b3-text-field--text" placeholder="${ window . siyuan . languages . search } "></div>
107107 </div>
108108 <div class="fn__space"></div>
109109 <span data-type="av-more" aria-label="${ window . siyuan . languages . config } " data-position="8south" class="ariaLabel block__icon">
@@ -427,7 +427,7 @@ const afterRenderTable = (options: ITableOptions) => {
427427 viewsElement . classList . remove ( "av__views--show" ) ;
428428 searchInputElement . style . width = "0" ;
429429 searchInputElement . style . paddingLeft = "0" ;
430- searchInputElement . style . paddingRight = "0" ;
430+ searchInputElement . style . marginRight = "0" ;
431431 }
432432 } ) ;
433433 addClearButton ( {
@@ -439,7 +439,7 @@ const afterRenderTable = (options: ITableOptions) => {
439439 viewsElement . classList . remove ( "av__views--show" ) ;
440440 searchInputElement . style . width = "0" ;
441441 searchInputElement . style . paddingLeft = "0" ;
442- searchInputElement . style . paddingRight = "0" ;
442+ searchInputElement . style . marginRight = "0" ;
443443 focusBlock ( options . blockElement ) ;
444444 updateSearch ( options . blockElement , options . protyle ) ;
445445 /// #if MOBILE
0 commit comments