[{"data":1,"prerenderedAt":233},["ShallowReactive",2],{"quirekit-doc:\u002Fplugins\u002Freference\u002Fclipboard-text-serializer":3},{"id":4,"title":5,"body":6,"description":12,"extension":220,"keywords":221,"locale":224,"meta":225,"navigation":226,"order":227,"path":228,"section":229,"seo":230,"stem":231,"__hash__":232},"docs\u002Fplugins\u002Freference\u002Fclipboard-text-serializer.zh-CN.md","ClipboardTextSerializer · 剪贴板纯文本序列化",{"type":7,"value":8,"toc":208},"minimark",[9,13,24,28,34,77,86,89,105,116,124,127,138,142,145,152,157,160,166,172,175,178,181,192,204],[10,11,12],"p",{},"控制复制时如何把块内容转成纯文本。通常通过 Editor 的 coreExtensionOptions.clipboardTextSerializer 配置分隔符。",[10,14,15,19,20],{},[16,17,18],"code",{},"@quirekit\u002Fcore"," · ",[21,22,23],"strong",{},"MIT",[25,26,27],"h2",{"id":27},"编辑器适用范围",[10,29,30,31],{},"层次：",[21,32,33],{},"Core 内置能力",[35,36,37,53],"table",{},[38,39,40],"thead",{},[41,42,43,47,50],"tr",{},[44,45,46],"th",{},"编辑器",[44,48,49],{},"状态",[44,51,52],{},"所需装配与边界",[54,55,56,68],"tbody",{},[41,57,58,62,65],{},[59,60,61],"td",{},"Classic",[59,63,64],{},"直接支持",[59,66,67],{},"由产品创建的 Core 自动安装，通过 Core 的 enableCoreExtensions 和 coreExtensionOptions 管理，不重复追加。视图事件的具体行为仍以当前 View 为准。",[41,69,70,73,75],{},[59,71,72],{},"Block",[59,74,64],{},[59,76,67],{},[10,78,79,80,85],{},"“直接支持”指已有上述产品装配；具体交互、宿主服务和格式支持仍有各自条件。",[81,82,84],"a",{"href":83},"\u002Fplugins\u002Fcompatibility","状态与接入规则","。许可独立显示。",[25,87,88],{"id":88},"接入",[90,91,96],"pre",{"className":92,"code":93,"language":94,"meta":95,"style":95},"language-sh shiki shiki-themes github-light github-light github-dark","pnpm add @quirekit\u002Fcore@alpha\n","sh","",[16,97,98],{"__ignoreMap":95},[99,100,103],"span",{"class":101,"line":102},"line",1,[99,104,93],{},[10,106,107,108,111,112,115],{},"Editor 默认安装此内置扩展。使用 ",[16,109,110],{},"enableCoreExtensions"," 控制启用，特定选项放在 ",[16,113,114],{},"coreExtensionOptions","；不要再次追加同名扩展。",[10,117,118,119,123],{},"安装时按包声明选择兼容版本，外部可用版本以分发源为准。本站使用工作区 Alpha；许可标签来自入口所属包，使用条件见",[81,120,122],{"href":121},"\u002Fsupport","支持与许可","。",[25,125,126],{"id":126},"按编辑器接入",[10,128,129,130,133,134,137],{},"以下片段沿用已挂载的宿主元素 ",[16,131,132],{},"element","，宿主负责容器尺寸与保存；退出页面时调用 ",[16,135,136],{},"instance.destroy()","。已有预设装配的能力不要再重复追加；需要宿主端口的入口应先完成下方配置。",[139,140],"plugin-integration",{"name":141},"ClipboardTextSerializer",[25,143,144],{"id":144},"配置",[10,146,147,148,123],{},"下面是扩展自身的默认选项。预设可以覆盖这些值；它们不等于当前文档属性。配置方法见",[81,149,151],{"href":150},"\u002Fplugins\u002Fconfiguration","配置插件",[153,154,156],"h3",{"id":155},"blockseparator","blockSeparator",[10,158,159],{},"复制为纯文本时插在块之间的分隔符。",[10,161,162,163],{},"类型：",[16,164,165],{},"string | undefined",[10,167,168,169],{},"默认：",[16,170,171],{},"undefined",[25,173,174],{"id":174},"命令与运行方式",[10,176,177],{},"此入口没有直接声明可枚举的命令。组合扩展的命令由子扩展提供；产品插件通过 contribution 或文件服务工作。不能把安装入口名称当作命令调用。",[25,179,180],{"id":180},"下一步",[10,182,183,184,188,189,191],{},"返回",[81,185,187],{"href":186},"\u002Fplugins","全部插件","，或阅读",[81,190,151],{"href":150},"区分配置、文档属性与命令。",[10,193,194,195,199,200,123],{},"自己定义能力时见",[81,196,198],{"href":197},"\u002Fbuild\u002Fextension","扩展开发","；搭建完整宿主时见",[81,201,203],{"href":202},"\u002Fbuild","构建产品",[205,206,207],"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);}",{"title":95,"searchDepth":209,"depth":209,"links":210},2,[211,212,213,214,218,219],{"id":27,"depth":209,"text":27},{"id":88,"depth":209,"text":88},{"id":126,"depth":209,"text":126},{"id":144,"depth":209,"text":144,"children":215},[216],{"id":155,"depth":217,"text":156},3,{"id":174,"depth":209,"text":174},{"id":180,"depth":209,"text":180},"md",[141,18,222,223,156,141],"剪贴板纯文本序列化","builtin","zh-CN",{"navigationTitle":141,"license":23},true,68,"\u002Fplugins\u002Freference\u002Fclipboard-text-serializer","Core 内置扩展",{"title":5,"description":12},"plugins\u002Freference\u002Fclipboard-text-serializer.zh-CN","AauHkexCjeim1bQZqZmHyiXLuKtd5x4XC0UiYl36rDA",1793045223182]