[{"data":1,"prerenderedAt":434},["ShallowReactive",2],{"quirekit-doc:\u002Fen\u002Fplugins\u002Freference\u002Fclassic-editor-search":3},{"id":4,"title":5,"body":6,"description":12,"extension":421,"keywords":422,"locale":425,"meta":426,"navigation":427,"order":428,"path":429,"section":430,"seo":431,"stem":432,"__hash__":433},"docs\u002Fplugins\u002Freference\u002Fclassic-editor-search.en.md","ClassicEditorSearch",{"type":7,"value":8,"toc":405},"minimark",[9,13,24,29,35,85,93,97,113,121,145,153,157,160,163,167,173,177,180,186,192,196,199,204,209,213,216,220,224,228,231,236,240,243,246,251,255,259,262,360,368,372,383,401],[10,11,12],"p",{},"Adds Classic product controls for Search, retaining its public options. Do not add it again when ClassicEditorKit already installs it.",[10,14,15,19,20],{},[16,17,18],"code",{},"@quirekit\u002Fclassic-editor"," · ",[21,22,23],"strong",{},"AGPL-3.0-only",[25,26,28],"h2",{"id":27},"editor-compatibility","Editor compatibility",[10,30,31,32],{},"Layer：",[21,33,34],{},"Classic product integration",[36,37,38,54],"table",{},[39,40,41],"thead",{},[42,43,44,48,51],"tr",{},[45,46,47],"th",{},"Editor",[45,49,50],{},"Status",[45,52,53],{},"Assembly and boundaries",[55,56,57,74],"tbody",{},[42,58,59,63,66],{},[60,61,62],"td",{},"Classic",[60,64,65],{},"Supported",[60,67,68,73],{},[69,70,72],"a",{"href":71},"\u002Fen\u002Fplugins\u002Freference\u002Fclassic-editor-preset","classicEditorPreset"," — Use the product-neutral classicEditorPreset without duplicating installed capabilities. The Word preset replaces paragraphs, headings and container lists; do not stack generic structures onto that model.",[42,75,76,79,82],{},[60,77,78],{},"Block",[60,80,81],{},"Unsupported",[60,83,84],{},"Block does not consume Classic product contributions, plugins or paginated assembly. Use shared capabilities and Block adapters instead of copying this entry's Classic configuration.",[10,86,87,88,92],{},"“Supported” means the product assembly above exists; interaction, host services and file formats retain their own conditions. See ",[69,89,91],{"href":90},"\u002Fen\u002Fplugins\u002Fcompatibility","status and integration rules",". Licensing is shown separately.",[25,94,96],{"id":95},"installation","Installation",[98,99,104],"pre",{"className":100,"code":101,"language":102,"meta":103,"style":103},"language-sh shiki shiki-themes github-light github-light github-dark","pnpm add @quirekit\u002Fclassic-editor@alpha\n","sh","",[16,105,106],{"__ignoreMap":103},[107,108,111],"span",{"class":109,"line":110},"line",1,[107,112,101],{},[10,114,115,116,120],{},"Use the ",[69,117,119],{"href":118},"\u002Fen\u002Fplugins\u002Freference\u002Fclassic-editor-kit","Classic kit",". Individual adapters support custom assembly or replacement without duplicate names.",[98,122,126],{"className":123,"code":124,"language":125,"meta":103,"style":103},"language-ts shiki shiki-themes github-light github-light github-dark","import { ClassicEditorSearch } from '@quirekit\u002Fclassic-editor'\n","ts",[16,127,128],{"__ignoreMap":103},[107,129,130,134,138,141],{"class":109,"line":110},[107,131,133],{"class":132},"sDD9d","import",[107,135,137],{"class":136},"sVPnS"," { ClassicEditorSearch } ",[107,139,140],{"class":132},"from",[107,142,144],{"class":143},"s-HEn"," '@quirekit\u002Fclassic-editor'\n",[10,146,147,148,152],{},"Use compatible versions available from your distribution source. This site uses the Alpha workspace. License labels come from package metadata; see ",[69,149,151],{"href":150},"\u002Fen\u002Fsupport","support and licensing",".",[25,154,156],{"id":155},"integration-by-editor","Integration by editor",[10,158,159],{},"These snippets use an existing host element named element. The host owns container sizing and persistence; call instance.destroy() on teardown. Avoid duplicating preset capabilities and supply required host ports before installation.",[161,162],"plugin-integration",{"name":5},[25,164,166],{"id":165},"configuration","Configuration",[10,168,169,170,152],{},"These are extension-level defaults. Presets can override them; they are distinct from current document attributes. See ",[69,171,165],{"href":172},"\u002Fen\u002Fplugins\u002Fconfiguration",[174,175,176],"h3",{"id":176},"highlight",[10,178,179],{},"Highlight colors.",[10,181,182,183],{},"Type：",[16,184,185],{},"SearchHighlightStyle",[10,187,188,189],{},"Default：",[16,190,191],{},"{ match: \"rgba(255, 196, 0, 0.35)\", active: \"transparent\", activeOutline: \"#e8710a\" }",[174,193,195],{"id":194},"resolvescope","resolveScope",[10,197,198],{},"Resolves ordered searchable intervals.",[10,200,182,201],{},[16,202,203],{},"((state: EditorState) => readonly SearchScopeSegment[]) | undefined",[10,205,188,206],{},[16,207,208],{},"undefined",[174,210,212],{"id":211},"resolveexcludedscope","resolveExcludedScope",[10,214,215],{},"Resolves intervals deliberately left out of the scope, used only to count\nmatches the user cannot reach so the UI can say so.",[10,217,182,218],{},[16,219,203],{},[10,221,188,222],{},[16,223,208],{},[174,225,227],{"id":226},"checkreplaceable","checkReplaceable",[10,229,230],{},"Decides whether a match may be replaced.",[10,232,182,233],{},[16,234,235],{},"((state: EditorState, match: SearchMatch) => SearchReplaceVerdict) | undefined",[10,237,188,238],{},[16,239,208],{},[174,241,242],{"id":242},"reveal",[10,244,245],{},"Applies host-specific presentation for a newly active match.",[10,247,182,248],{},[16,249,250],{},"((tr: Transaction, match: SearchMatch) => void) | undefined",[10,252,188,253],{},[16,254,208],{},[25,256,258],{"id":257},"commands-and-runtime","Commands and runtime",[10,260,261],{},"These commands are supplied directly by this extension. Availability depends on the installed schema, selection and protection policy; query editor.can() first.",[36,263,264,274],{},[39,265,266],{},[42,267,268,271],{},[45,269,270],{},"Command",[45,272,273],{},"Parameter signature",[55,275,276,288,300,312,324,336,348],{},[42,277,278,283],{},[60,279,280],{},[16,281,282],{},"setSearchQuery",[60,284,285],{},[16,286,287],{},"setSearchQuery(text: string, queryOptions?: Partial\u003CSearchOptions> | undefined, limit?: SearchRange | undefined)",[42,289,290,295],{},[60,291,292],{},[16,293,294],{},"clearSearch",[60,296,297],{},[16,298,299],{},"clearSearch()",[42,301,302,307],{},[60,303,304],{},[16,305,306],{},"findNext",[60,308,309],{},[16,310,311],{},"findNext()",[42,313,314,319],{},[60,315,316],{},[16,317,318],{},"findPrevious",[60,320,321],{},[16,322,323],{},"findPrevious()",[42,325,326,331],{},[60,327,328],{},[16,329,330],{},"selectSearchMatch",[60,332,333],{},[16,334,335],{},"selectSearchMatch(index: number)",[42,337,338,343],{},[60,339,340],{},[16,341,342],{},"replaceSearchMatch",[60,344,345],{},[16,346,347],{},"replaceSearchMatch(text: string)",[42,349,350,355],{},[60,351,352],{},[16,353,354],{},"replaceAllSearchMatches",[60,356,357],{},[16,358,359],{},"replaceAllSearchMatches(text: string)",[10,361,362,363,367],{},"These are parameter signatures. See ",[69,364,366],{"href":365},"\u002Fen\u002Fbuild\u002Fcommands","commands and controls"," to connect UI while retaining one transaction\u002Fhistory authority.",[25,369,371],{"id":370},"next-steps","Next steps",[10,373,374,375,379,380,382],{},"Return to ",[69,376,378],{"href":377},"\u002Fen\u002Fplugins","all plugins",", or read ",[69,381,165],{"href":172}," to distinguish options, attributes and commands.",[10,384,385,386,390,391,395,396,400],{},"Continue with ",[69,387,389],{"href":388},"\u002Fen\u002Fclassic\u002Fquick-start","Classic quick start"," and ",[69,392,394],{"href":393},"\u002Fen\u002Fclassic\u002Fconfiguration","configuration\u002Flifetime",". See ",[69,397,399],{"href":398},"\u002Fen\u002Fbuild\u002Fproduct-plugin","product plugin development"," for your own UI and services.",[402,403,404],"style",{},"html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .sDD9d, html code.shiki .sDD9d{--shiki-default:#D73A49;--shiki-light:#D73A49;--shiki-dark:#F97583}html pre.shiki code .sVPnS, html code.shiki .sVPnS{--shiki-default:#24292E;--shiki-light:#24292E;--shiki-dark:#E1E4E8}html pre.shiki code .s-HEn, html code.shiki .s-HEn{--shiki-default:#032F62;--shiki-light:#032F62;--shiki-dark:#9ECBFF}",{"title":103,"searchDepth":406,"depth":406,"links":407},2,[408,409,410,411,419,420],{"id":27,"depth":406,"text":28},{"id":95,"depth":406,"text":96},{"id":155,"depth":406,"text":156},{"id":165,"depth":406,"text":166,"children":412},[413,415,416,417,418],{"id":176,"depth":414,"text":176},3,{"id":194,"depth":414,"text":195},{"id":211,"depth":414,"text":212},{"id":226,"depth":414,"text":227},{"id":242,"depth":414,"text":242},{"id":257,"depth":406,"text":258},{"id":370,"depth":406,"text":371},"md",[5,18,423,424,176,195,212,227,242,282,294,306,318,330,342,354,5],"Classic 查找替换","classic","en",{"navigationTitle":5,"license":23},true,37,"\u002Fen\u002Fplugins\u002Freference\u002Fclassic-editor-search","Classic product extensions",{"title":5,"description":12},"plugins\u002Freference\u002Fclassic-editor-search.en","O_ySbOJ1WdHR0D3Xi2IyxYh3oTJznik7pub5jXT_MGE",1793045234009]