[{"data":1,"prerenderedAt":315},["ShallowReactive",2],{"quirekit-doc:\u002Fplugins\u002Freference\u002Fclassic-editor-text-case":3},{"id":4,"title":5,"body":6,"description":12,"extension":302,"keywords":303,"locale":306,"meta":307,"navigation":308,"order":309,"path":310,"section":311,"seo":312,"stem":313,"__hash__":314},"docs\u002Fplugins\u002Freference\u002Fclassic-editor-text-case.zh-CN.md","ClassicEditorTextCase · Classic 大小写转换",{"type":7,"value":8,"toc":290},"minimark",[9,13,24,28,34,84,92,95,111,119,143,151,154,165,169,172,179,184,187,193,199,202,209,247,255,258,269,286],[10,11,12],"p",{},"为 大小写转换能力注册 Classic 产品控件，配置沿用 TextCase 的公开选项。ClassicEditorKit 已装配该适配器时，不再重复追加。",[10,14,15,19,20],{},[16,17,18],"code",{},"@quirekit\u002Fclassic-editor"," · ",[21,22,23],"strong",{},"AGPL-3.0-only",[25,26,27],"h2",{"id":27},"编辑器适用范围",[10,29,30,31],{},"层次：",[21,32,33],{},"Classic 产品适配",[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,73],"tbody",{},[41,57,58,62,65],{},[59,60,61],"td",{},"Classic",[59,63,64],{},"直接支持",[59,66,67,72],{},[68,69,71],"a",{"href":70},"\u002Fplugins\u002Freference\u002Fclassic-editor-preset","classicEditorPreset"," — 使用产品中立的 classicEditorPreset；已有能力由预设装配，不要重复追加。Word 预设会替换段落、标题和容器列表，不能把通用结构直接叠加到 Word 模型。",[41,74,75,78,81],{},[59,76,77],{},"Block",[59,79,80],{},"未支持",[59,82,83],{},"Block 不消费 Classic 产品 contribution、plugins 或分页装配。请使用共享能力和 Block 适配入口，不能直接复制此入口的 Classic 配置。",[10,85,86,87,91],{},"“直接支持”指已有上述产品装配；具体交互、宿主服务和格式支持仍有各自条件。",[68,88,90],{"href":89},"\u002Fplugins\u002Fcompatibility","状态与接入规则","。许可独立显示。",[25,93,94],{"id":94},"接入",[96,97,102],"pre",{"className":98,"code":99,"language":100,"meta":101,"style":101},"language-sh shiki shiki-themes github-light github-light github-dark","pnpm add @quirekit\u002Fclassic-editor@alpha\n","sh","",[16,103,104],{"__ignoreMap":101},[105,106,109],"span",{"class":107,"line":108},"line",1,[105,110,99],{},[10,112,113,114,118],{},"先使用 ",[68,115,117],{"href":116},"\u002Fplugins\u002Freference\u002Fclassic-editor-kit","Classic 基础装配","。这里的单项适配器用于自定义预设或替换子项；不能向已有装配再追加同名扩展。",[96,120,124],{"className":121,"code":122,"language":123,"meta":101,"style":101},"language-ts shiki shiki-themes github-light github-light github-dark","import { ClassicEditorTextCase } from '@quirekit\u002Fclassic-editor'\n","ts",[16,125,126],{"__ignoreMap":101},[105,127,128,132,136,139],{"class":107,"line":108},[105,129,131],{"class":130},"sDD9d","import",[105,133,135],{"class":134},"sVPnS"," { ClassicEditorTextCase } ",[105,137,138],{"class":130},"from",[105,140,142],{"class":141},"s-HEn"," '@quirekit\u002Fclassic-editor'\n",[10,144,145,146,150],{},"安装时按包声明选择兼容版本，外部可用版本以分发源为准。本站使用工作区 Alpha；许可标签来自入口所属包，使用条件见",[68,147,149],{"href":148},"\u002Fsupport","支持与许可","。",[25,152,153],{"id":153},"按编辑器接入",[10,155,156,157,160,161,164],{},"以下片段沿用已挂载的宿主元素 ",[16,158,159],{},"element","，宿主负责容器尺寸与保存；退出页面时调用 ",[16,162,163],{},"instance.destroy()","。已有预设装配的能力不要再重复追加；需要宿主端口的入口应先完成下方配置。",[166,167],"plugin-integration",{"name":168},"ClassicEditorTextCase",[25,170,171],{"id":171},"配置",[10,173,174,175,150],{},"下面是扩展自身的默认选项。预设可以覆盖这些值；它们不等于当前文档属性。配置方法见",[68,176,178],{"href":177},"\u002Fplugins\u002Fconfiguration","配置插件",[180,181,183],"h3",{"id":182},"checkchangeable","checkChangeable",[10,185,186],{},"文字改写前检查目标范围；false 表示当前范围不允许大小写转换。",[10,188,189,190],{},"类型：",[16,191,192],{},"TextCaseChangeableCheck | null",[10,194,195,196],{},"默认：",[16,197,198],{},"null",[25,200,201],{"id":201},"命令与运行方式",[10,203,204,205,208],{},"以下命令由此扩展直接提供，均在当前 Editor 上调用。命令是否可用由已安装 schema、当前选区与保护策略决定；可以先用 ",[16,206,207],{},"editor.can()"," 查询。",[35,210,211,221],{},[38,212,213],{},[41,214,215,218],{},[44,216,217],{},"命令",[44,219,220],{},"参数签名",[54,222,223,235],{},[41,224,225,230],{},[59,226,227],{},[16,228,229],{},"changeTextCase",[59,231,232],{},[16,233,234],{},"changeTextCase(mode: TextCaseMode)",[41,236,237,242],{},[59,238,239],{},[16,240,241],{},"cycleTextCase",[59,243,244],{},[16,245,246],{},"cycleTextCase()",[10,248,249,250,254],{},"这里只展示参数签名。接界面时见",[68,251,253],{"href":252},"\u002Fbuild\u002Fcommands","命令与控件","，正文变更继续经过同一事务与历史。",[25,256,257],{"id":257},"下一步",[10,259,260,261,265,266,268],{},"返回",[68,262,264],{"href":263},"\u002Fplugins","全部插件","，或阅读",[68,267,178],{"href":177},"区分配置、文档属性与命令。",[10,270,271,272,276,277,281,282,150],{},"继续",[68,273,275],{"href":274},"\u002Fclassic\u002Fquick-start","Classic 快速接入","和",[68,278,280],{"href":279},"\u002Fclassic\u002Fconfiguration","配置与生命周期","。开发自己的产品界面与服务时，见",[68,283,285],{"href":284},"\u002Fbuild\u002Fproduct-plugin","产品插件开发",[287,288,289],"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":101,"searchDepth":291,"depth":291,"links":292},2,[293,294,295,296,300,301],{"id":27,"depth":291,"text":27},{"id":94,"depth":291,"text":94},{"id":153,"depth":291,"text":153},{"id":171,"depth":291,"text":171,"children":297},[298],{"id":182,"depth":299,"text":183},3,{"id":201,"depth":291,"text":201},{"id":257,"depth":291,"text":257},"md",[168,18,304,305,183,229,241,168],"Classic 大小写转换","classic","zh-CN",{"navigationTitle":168,"license":23},true,41,"\u002Fplugins\u002Freference\u002Fclassic-editor-text-case","Classic 产品扩展",{"title":5,"description":12},"plugins\u002Freference\u002Fclassic-editor-text-case.zh-CN","awWOqtLdf7mjqL57nu-_bQGAOkiwsi4QUAoYQIEhxVY",1793045220706]