[{"data":1,"prerenderedAt":265},["ShallowReactive",2],{"quirekit-doc:\u002Fen\u002Fplugins\u002Freference\u002Fofficial-document":3},{"id":4,"title":5,"body":6,"description":12,"extension":252,"keywords":253,"locale":256,"meta":257,"navigation":258,"order":259,"path":260,"section":261,"seo":262,"stem":263,"__hash__":264},"docs\u002Fplugins\u002Freference\u002Fofficial-document.en.md","OfficialDocument",{"type":7,"value":8,"toc":243},"minimark",[9,13,24,29,35,80,89,93,99,102,110,139,147,151,154,157,161,164,168,171,197,205,209,221,239],[10,11,12],"p",{},"Provides composeOfficialDocument, which validates official-document data and replaces the whole document in one undoable edit.",[10,14,15,19,20],{},[16,17,18],"code",{},"@quirekit\u002Fofficial-document\u002Fclassic"," · ",[21,22,23],"strong",{},"Commercial",[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,69],"tbody",{},[42,58,59,63,66],{},[60,61,62],"td",{},"Classic",[60,64,65],{},"Supported",[60,67,68],{},"Add this optional Classic extension to createClassicEditor extensions. The host still owns assets, persistence and required styles; this is not a product plugin for plugins.",[42,70,71,74,77],{},[60,72,73],{},"Block",[60,75,76],{},"Unsupported",[60,78,79],{},"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,81,82,83,88],{},"“Supported” means the product assembly above exists; interaction, host services and file formats retain their own conditions. See ",[84,85,87],"a",{"href":86},"\u002Fen\u002Fplugins\u002Fcompatibility","status and integration rules",". Licensing is shown separately.",[25,90,92],{"id":91},"installation","Installation",[10,94,95,96,98],{},"The current ",[16,97,18],{}," manifest is private. This site uses workspace source; external projects need the relevant distribution package rather than assuming public npm availability.",[10,100,101],{},"This entry is a commercial component. Obtain distribution access and authorization first; installation commands require that distribution source.",[10,103,104,105,109],{},"Use the ",[84,106,108],{"href":107},"\u002Fen\u002Fplugins\u002Freference\u002Fclassic-editor-kit","Classic kit",". Individual adapters support custom assembly or replacement without duplicate names.",[111,112,117],"pre",{"className":113,"code":114,"language":115,"meta":116,"style":116},"language-ts shiki shiki-themes github-light github-light github-dark","import { OfficialDocument } from '@quirekit\u002Fofficial-document\u002Fclassic'\n","ts","",[16,118,119],{"__ignoreMap":116},[120,121,124,128,132,135],"span",{"class":122,"line":123},"line",1,[120,125,127],{"class":126},"sDD9d","import",[120,129,131],{"class":130},"sVPnS"," { OfficialDocument } ",[120,133,134],{"class":126},"from",[120,136,138],{"class":137},"s-HEn"," '@quirekit\u002Fofficial-document\u002Fclassic'\n",[10,140,141,142,146],{},"Use compatible versions available from your distribution source. This site uses the Alpha workspace. License labels come from package metadata; see ",[84,143,145],{"href":144},"\u002Fen\u002Fsupport","support and licensing",".",[25,148,150],{"id":149},"integration-by-editor","Integration by editor",[10,152,153],{},"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.",[155,156],"plugin-integration",{"name":5},[25,158,160],{"id":159},"configuration","Configuration",[10,162,163],{},"This entry has no independent configuration fields. Set document attributes through domain commands; presets may install other configurable children.",[25,165,167],{"id":166},"commands-and-runtime","Commands and runtime",[10,169,170],{},"These commands are supplied directly by this extension. Availability depends on the installed schema, selection and protection policy; query editor.can() first.",[36,172,173,183],{},[39,174,175],{},[42,176,177,180],{},[45,178,179],{},"Command",[45,181,182],{},"Parameter signature",[55,184,185],{},[42,186,187,192],{},[60,188,189],{},[16,190,191],{},"composeOfficialDocument",[60,193,194],{},[16,195,196],{},"composeOfficialDocument(data: { version?: 1; title?: string; format?: \"letter\"; copyNumber?: string; secrecy?: { term?: string; level: \"秘密\" | \"机密\" | \"绝密\"; }; urgency?: \"特急\" | \"加急\" | \"特提\" | \"平急\"; documentNumber?: string; signers?: string[]; adoption?: string; recipients?: string[]; attachments?: string[]; signature?: { type: \"agency\"; } | { seals?: string[]; diameter?: number; type: \"sealed\"; } | { height?: number; type: \"stamp\"; stamps: { image?: string; position: string; }[]; } | { name: string; type: \"leader\"; position: string; } | { type: \"none\"; }; date?: string; note?: string; attendees?: { label: \"出席\" | \"请假\" | \"列席\"; names: string[]; }[]; imprint?: { date?: string; cc?: string[]; office?: string; }; kind: \"resolution\" | \"decision\" | \"order\" | \"communique\" | \"announcement\" | \"public-notice\" | \"opinion\" | \"notice\" | \"circular\" | \"report\" | \"request\" | \"reply\" | \"proposal\" | \"letter\" | \"minutes\"; issuer: { joint?: string[]; mark?: string; agency: string; }; body: ({ type: \"paragraph\"; text: string; } | { text?: string; title: string; type: \"heading\"; level: number; } | { title?: string; header?: string[][]; columns?: { width?: number; align?: \"start\" | \"center\" | \"end\"; }[]; fontSize?: 16 | 14 | 12; type: \"table\"; rows: string[][]; } | { width?: number; caption?: string; type: \"image\"; src: string; })[]; })",[10,198,199,200,204],{},"These are parameter signatures. See ",[84,201,203],{"href":202},"\u002Fen\u002Fbuild\u002Fcommands","commands and controls"," to connect UI while retaining one transaction\u002Fhistory authority.",[25,206,208],{"id":207},"next-steps","Next steps",[10,210,211,212,216,217,220],{},"Return to ",[84,213,215],{"href":214},"\u002Fen\u002Fplugins","all plugins",", or read ",[84,218,159],{"href":219},"\u002Fen\u002Fplugins\u002Fconfiguration"," to distinguish options, attributes and commands.",[10,222,223,224,228,229,233,234,238],{},"Continue with ",[84,225,227],{"href":226},"\u002Fen\u002Fclassic\u002Fquick-start","Classic quick start"," and ",[84,230,232],{"href":231},"\u002Fen\u002Fclassic\u002Fconfiguration","configuration\u002Flifetime",". See ",[84,235,237],{"href":236},"\u002Fen\u002Fbuild\u002Fproduct-plugin","product plugin development"," for your own UI and services.",[240,241,242],"style",{},"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}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);}",{"title":116,"searchDepth":244,"depth":244,"links":245},2,[246,247,248,249,250,251],{"id":27,"depth":244,"text":28},{"id":91,"depth":244,"text":92},{"id":149,"depth":244,"text":150},{"id":159,"depth":244,"text":160},{"id":166,"depth":244,"text":167},{"id":207,"depth":244,"text":208},"md",[5,18,254,255,191,5],"公文生成命令","classic","en",{"navigationTitle":5,"license":23},true,121,"\u002Fen\u002Fplugins\u002Freference\u002Fofficial-document","Classic product extensions",{"title":5,"description":12},"plugins\u002Freference\u002Fofficial-document.en","VmRw_V2RpSVwszOQt7FfDLKHsyzL4_Q3EujkstAZcRs",1793045235391]