[{"data":1,"prerenderedAt":336},["ShallowReactive",2],{"quirekit-doc:\u002Fen\u002Fplugins\u002Freference\u002Fclassic-editor-undo-redo":3},{"id":4,"title":5,"body":6,"description":12,"extension":323,"keywords":324,"locale":327,"meta":328,"navigation":329,"order":330,"path":331,"section":332,"seo":333,"stem":334,"__hash__":335},"docs\u002Fplugins\u002Freference\u002Fclassic-editor-undo-redo.en.md","ClassicEditorUndoRedo",{"type":7,"value":8,"toc":310},"minimark",[9,13,24,29,35,85,93,97,113,121,145,153,157,160,163,167,173,177,180,186,192,196,199,203,208,212,215,265,273,277,288,306],[10,11,12],"p",{},"Adds Classic product controls for UndoRedo, 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 { ClassicEditorUndoRedo } 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"," { ClassicEditorUndoRedo } ",[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},"depth",[10,178,179],{},"Maximum number of history events kept before old events are discarded.",[10,181,182,183],{},"Type：",[16,184,185],{},"number",[10,187,188,189],{},"Default：",[16,190,191],{},"100",[174,193,195],{"id":194},"newgroupdelay","newGroupDelay",[10,197,198],{},"Delay in milliseconds after which a new history group is started.",[10,200,182,201],{},[16,202,185],{},[10,204,188,205],{},[16,206,207],{},"500",[25,209,211],{"id":210},"commands-and-runtime","Commands and runtime",[10,213,214],{},"These commands are supplied directly by this extension. Availability depends on the installed schema, selection and protection policy; query editor.can() first.",[36,216,217,227],{},[39,218,219],{},[42,220,221,224],{},[45,222,223],{},"Command",[45,225,226],{},"Parameter signature",[55,228,229,241,253],{},[42,230,231,236],{},[60,232,233],{},[16,234,235],{},"undo",[60,237,238],{},[16,239,240],{},"undo()",[42,242,243,248],{},[60,244,245],{},[16,246,247],{},"redo",[60,249,250],{},[16,251,252],{},"redo()",[42,254,255,260],{},[60,256,257],{},[16,258,259],{},"closeHistory",[60,261,262],{},[16,263,264],{},"closeHistory()",[10,266,267,268,272],{},"These are parameter signatures. See ",[69,269,271],{"href":270},"\u002Fen\u002Fbuild\u002Fcommands","commands and controls"," to connect UI while retaining one transaction\u002Fhistory authority.",[25,274,276],{"id":275},"next-steps","Next steps",[10,278,279,280,284,285,287],{},"Return to ",[69,281,283],{"href":282},"\u002Fen\u002Fplugins","all plugins",", or read ",[69,286,165],{"href":172}," to distinguish options, attributes and commands.",[10,289,290,291,295,296,300,301,305],{},"Continue with ",[69,292,294],{"href":293},"\u002Fen\u002Fclassic\u002Fquick-start","Classic quick start"," and ",[69,297,299],{"href":298},"\u002Fen\u002Fclassic\u002Fconfiguration","configuration\u002Flifetime",". See ",[69,302,304],{"href":303},"\u002Fen\u002Fbuild\u002Fproduct-plugin","product plugin development"," for your own UI and services.",[307,308,309],"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":311,"depth":311,"links":312},2,[313,314,315,316,321,322],{"id":27,"depth":311,"text":28},{"id":95,"depth":311,"text":96},{"id":155,"depth":311,"text":156},{"id":165,"depth":311,"text":166,"children":317},[318,320],{"id":176,"depth":319,"text":176},3,{"id":194,"depth":319,"text":195},{"id":210,"depth":311,"text":211},{"id":275,"depth":311,"text":276},"md",[5,18,325,326,176,195,235,247,259,5],"Classic 撤销重做","classic","en",{"navigationTitle":5,"license":23},true,44,"\u002Fen\u002Fplugins\u002Freference\u002Fclassic-editor-undo-redo","Classic product extensions",{"title":5,"description":12},"plugins\u002Freference\u002Fclassic-editor-undo-redo.en","WhShffEigxuh1toYuVM2qz3tS57QukSy71cy4ZkDkNQ",1793045234359]