[{"data":1,"prerenderedAt":281},["ShallowReactive",2],{"quirekit-doc:\u002Fen\u002Fplugins\u002Freference\u002Fcreate-classic-document-template-plugin":3},{"id":4,"title":5,"body":6,"description":12,"extension":268,"keywords":269,"locale":272,"meta":273,"navigation":274,"order":275,"path":276,"section":277,"seo":278,"stem":279,"__hash__":280},"docs\u002Fplugins\u002Freference\u002Fcreate-classic-document-template-plugin.en.md","createClassicDocumentTemplatePlugin",{"type":7,"value":8,"toc":254},"minimark",[9,13,24,29,35,80,89,93,99,102,105,134,142,146,149,152,156,159,163,166,172,175,179,182,187,193,197,200,205,209,213,216,220,232,250],[10,11,12],"p",{},"Adds a full-document template library. The provider reads templates and createDocument opens an independent copy, separate from export styling templates.",[10,14,15,19,20],{},[16,17,18],"code",{},"@quirekit\u002Fdocument-template-library\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],{},"Install this Classic product plugin in createClassicEditor plugins. Supply its required models, host ports and services as documented below.",[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],{},"Install the product plugin in createClassicEditor plugins rather than Core extensions. Required host ports are listed below.",[106,107,112],"pre",{"className":108,"code":109,"language":110,"meta":111,"style":111},"language-ts shiki shiki-themes github-light github-light github-dark","import { createClassicDocumentTemplatePlugin } from '@quirekit\u002Fdocument-template-library\u002Fclassic'\n","ts","",[16,113,114],{"__ignoreMap":111},[115,116,119,123,127,130],"span",{"class":117,"line":118},"line",1,[115,120,122],{"class":121},"sDD9d","import",[115,124,126],{"class":125},"sVPnS"," { createClassicDocumentTemplatePlugin } ",[115,128,129],{"class":121},"from",[115,131,133],{"class":132},"s-HEn"," '@quirekit\u002Fdocument-template-library\u002Fclassic'\n",[10,135,136,137,141],{},"Use compatible versions available from your distribution source. This site uses the Alpha workspace. License labels come from package metadata; see ",[84,138,140],{"href":139},"\u002Fen\u002Fsupport","support and licensing",".",[25,143,145],{"id":144},"integration-by-editor","Integration by editor",[10,147,148],{},"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.",[150,151],"plugin-integration",{"name":5},[25,153,155],{"id":154},"configuration","Configuration",[10,157,158],{},"Pass these fields to the factory options. Required ports come from the host. undefined means no explicit option; documented factory fallbacks apply.",[160,161,162],"h3",{"id":162},"provider",[10,164,165],{},"Catalog authorized and supplied by the host.",[10,167,168,169],{},"Type：",[16,170,171],{},"DocumentTemplateProvider",[10,173,174],{},"Default：Required host port",[160,176,178],{"id":177},"createdocument","createDocument",[10,180,181],{},"Optional host-owned document-list creation replacing the default in-place replacement.",[10,183,168,184],{},[16,185,186],{},"(instance: DocumentTemplateInstance, context: ClassicEditorRenderContext): Promise\u003Cvoid>",[10,188,189,190],{},"Default：",[16,191,192],{},"undefined",[160,194,196],{"id":195},"preservationnotice","preservationNotice",[10,198,199],{},"Description of the custom host's preservation behavior, when createDocument is supplied.",[10,201,168,202],{},[16,203,204],{},"string",[10,206,189,207],{},[16,208,192],{},[25,210,212],{"id":211},"commands-and-runtime","Commands and runtime",[10,214,215],{},"This entry declares no directly enumerable commands. Children supply bundle commands; product plugins use contributions or document services.",[25,217,219],{"id":218},"next-steps","Next steps",[10,221,222,223,227,228,231],{},"Return to ",[84,224,226],{"href":225},"\u002Fen\u002Fplugins","all plugins",", or read ",[84,229,154],{"href":230},"\u002Fen\u002Fplugins\u002Fconfiguration"," to distinguish options, attributes and commands.",[10,233,234,235,239,240,244,245,249],{},"Continue with ",[84,236,238],{"href":237},"\u002Fen\u002Fclassic\u002Fquick-start","Classic quick start"," and ",[84,241,243],{"href":242},"\u002Fen\u002Fclassic\u002Fconfiguration","configuration\u002Flifetime",". See ",[84,246,248],{"href":247},"\u002Fen\u002Fbuild\u002Fproduct-plugin","product plugin development"," for your own UI and services.",[251,252,253],"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":111,"searchDepth":255,"depth":255,"links":256},2,[257,258,259,260,266,267],{"id":27,"depth":255,"text":28},{"id":91,"depth":255,"text":92},{"id":144,"depth":255,"text":145},{"id":154,"depth":255,"text":155,"children":261},[262,264,265],{"id":162,"depth":263,"text":162},3,{"id":177,"depth":263,"text":178},{"id":195,"depth":263,"text":196},{"id":211,"depth":255,"text":212},{"id":218,"depth":255,"text":219},"md",[5,18,270,271,162,178,196,5],"文档模板库","products","en",{"navigationTitle":5,"license":23},true,82,"\u002Fen\u002Fplugins\u002Freference\u002Fcreate-classic-document-template-plugin","Product presets and services",{"title":5,"description":12},"plugins\u002Freference\u002Fcreate-classic-document-template-plugin.en","VHhSL3MZYtN0bqkCttttKdRyfo_9PbnhMjETlEeHNLg",1793045235630]