[{"data":1,"prerenderedAt":325},["ShallowReactive",2],{"quirekit-doc:\u002Fen\u002Fplugins\u002Freference\u002Fblock-rich-content":3},{"id":4,"title":5,"body":6,"description":12,"extension":312,"keywords":313,"locale":316,"meta":317,"navigation":318,"order":319,"path":320,"section":321,"seo":322,"stem":323,"__hash__":324},"docs\u002Fplugins\u002Freference\u002Fblock-rich-content.en.md","BlockRichContent",{"type":7,"value":8,"toc":298},"minimark",[9,13,24,29,35,85,93,97,113,121,145,152,156,159,162,166,172,177,180,186,192,196,199,204,209,213,216,221,225,229,232,258,266,270,281,294],[10,11,12],"p",{},"Host services and the insertion contract shared by columns, templates, web cards and resources: per-file size limit, file storage and web metadata resolution. Without storage, files are kept as data URLs in the document.",[10,14,15,19,20],{},[16,17,18],"code",{},"@quirekit\u002Fblock-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],{},"Block 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],{},"Unsupported",[60,67,68],{},"This entry targets continuous-flow Block, not the paginated Classic product. Use the corresponding shared or Word capability with Classic assembly.",[42,70,71,74,77],{},[60,72,73],{},"Block",[60,75,76],{},"Supported",[60,78,79,84],{},[80,81,83],"a",{"href":82},"\u002Fen\u002Fplugins\u002Freference\u002Fcreate-block-editor-preset","createBlockEditorPreset"," — The default createBlockEditor preset installs this capability. Configure the corresponding preset child; graphic editing uses the preset's workspace ports, while persistence and assets remain host-owned. Avoid duplicate extensions.",[10,86,87,88,92],{},"“Supported” means the product assembly above exists; interaction, host services and file formats retain their own conditions. See ",[80,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\u002Fblock-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],{},"Install in Editor extensions. The host supplies a view, container and persistence; see ",[80,117,119],{"href":118},"\u002Fen\u002Fguide\u002Fquick-start","Quick start",".",[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 { BlockRichContent } from '@quirekit\u002Fblock-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"," { BlockRichContent } ",[107,139,140],{"class":132},"from",[107,142,144],{"class":143},"s-HEn"," '@quirekit\u002Fblock-editor'\n",[10,146,147,148,120],{},"Use compatible versions available from your distribution source. This site uses the Alpha workspace. License labels come from package metadata; see ",[80,149,151],{"href":150},"\u002Fen\u002Fsupport","support and licensing",[25,153,155],{"id":154},"integration-by-editor","Integration by editor",[10,157,158],{},"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.",[160,161],"plugin-integration",{"name":5},[25,163,165],{"id":164},"configuration","Configuration",[10,167,168,169,120],{},"These are extension-level defaults. Presets can override them; they are distinct from current document attributes. See ",[80,170,164],{"href":171},"\u002Fen\u002Fplugins\u002Fconfiguration",[173,174,176],"h3",{"id":175},"maxfilesize","maxFileSize",[10,178,179],{},"Maximum bytes per local file; default 4 MiB.",[10,181,182,183],{},"Type：",[16,184,185],{},"number",[10,187,188,189],{},"Default：",[16,190,191],{},"4 * 1024 * 1024",[173,193,195],{"id":194},"storefile","storeFile",[10,197,198],{},"Stores a file, honoring cancellation; must return a persistent source.",[10,200,182,201],{},[16,202,203],{},"(file: File, signal: AbortSignal, progress: (percent: number) => void): Promise\u003CBlockResource>",[10,205,188,206],{},[16,207,208],{},"undefined",[173,210,212],{"id":211},"resolvewebcard","resolveWebCard",[10,214,215],{},"Resolves card metadata; browser cross-origin scraping is not implicit.",[10,217,182,218],{},[16,219,220],{},"(url: string, signal: AbortSignal): Promise\u003C{ title?: string; description?: string; icon?: string; cover?: string; }>",[10,222,188,223],{},[16,224,208],{},[25,226,228],{"id":227},"commands-and-runtime","Commands and runtime",[10,230,231],{},"These commands are supplied directly by this extension. Availability depends on the installed schema, selection and protection policy; query editor.can() first.",[36,233,234,244],{},[39,235,236],{},[42,237,238,241],{},[45,239,240],{},"Command",[45,242,243],{},"Parameter signature",[55,245,246],{},[42,247,248,253],{},[60,249,250],{},[16,251,252],{},"applyBlockRichContent",[60,254,255],{},[16,256,257],{},"applyBlockRichContent(request: RichContentRequest, content: readonly QuireJSONContent[])",[10,259,260,261,265],{},"These are parameter signatures. See ",[80,262,264],{"href":263},"\u002Fen\u002Fbuild\u002Fcommands","commands and controls"," to connect UI while retaining one transaction\u002Fhistory authority.",[25,267,269],{"id":268},"next-steps","Next steps",[10,271,272,273,277,278,280],{},"Return to ",[80,274,276],{"href":275},"\u002Fen\u002Fplugins","all plugins",", or read ",[80,279,164],{"href":171}," to distinguish options, attributes and commands.",[10,282,283,284,288,289,293],{},"See ",[80,285,287],{"href":286},"\u002Fen\u002Fbuild\u002Fextension","extension development"," for custom capabilities and ",[80,290,292],{"href":291},"\u002Fen\u002Fbuild","Build a product"," for complete hosting.",[295,296,297],"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":299,"depth":299,"links":300},2,[301,302,303,304,310,311],{"id":27,"depth":299,"text":28},{"id":95,"depth":299,"text":96},{"id":154,"depth":299,"text":155},{"id":164,"depth":299,"text":165,"children":305},[306,308,309],{"id":175,"depth":307,"text":176},3,{"id":194,"depth":307,"text":195},{"id":211,"depth":307,"text":212},{"id":227,"depth":299,"text":228},{"id":268,"depth":299,"text":269},"md",[5,18,314,315,176,195,212,252,5],"富内容服务","block","en",{"navigationTitle":5,"license":23},true,16,"\u002Fen\u002Fplugins\u002Freference\u002Fblock-rich-content","Block product extensions",{"title":5,"description":12},"plugins\u002Freference\u002Fblock-rich-content.en","KugBpQlXNNxNbHhBT054_Hh1I2O2IG0Zfka2rH0ANpw",1793045233083]