[{"data":1,"prerenderedAt":674},["ShallowReactive",2],{"quirekit-doc:\u002Fen\u002Fplugins\u002Freference\u002Fclassic-editor-text-style":3},{"id":4,"title":5,"body":6,"description":12,"extension":661,"keywords":662,"locale":665,"meta":666,"navigation":667,"order":668,"path":669,"section":670,"seo":671,"stem":672,"__hash__":673},"docs\u002Fplugins\u002Freference\u002Fclassic-editor-text-style.en.md","ClassicEditorTextStyle",{"type":7,"value":8,"toc":648},"minimark",[9,13,24,29,35,85,93,97,113,121,145,153,157,160,163,167,173,178,181,187,193,197,200,205,210,214,217,603,611,615,626,644],[10,11,12],"p",{},"Adds Classic product controls for TextStyle, retaining its public options. Do not add it again when ClassicEditorKit already installs it.",[10,14,15,19,20],{},[16,17,18],"code",{},"@quirekit\u002Fclassic-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],{},"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,74],"tbody",{},[42,58,59,63,66],{},[60,61,62],"td",{},"Classic",[60,64,65],{},"Supported",[60,67,68,73],{},[69,70,72],"a",{"href":71},"\u002Fen\u002Fplugins\u002Freference\u002Fclassic-editor-preset","classicEditorPreset"," — Use the product-neutral classicEditorPreset without duplicating installed capabilities. The Word preset replaces paragraphs, headings and container lists; do not stack generic structures onto that model.",[42,75,76,79,82],{},[60,77,78],{},"Block",[60,80,81],{},"Unsupported",[60,83,84],{},"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,86,87,88,92],{},"“Supported” means the product assembly above exists; interaction, host services and file formats retain their own conditions. See ",[69,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\u002Fclassic-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],{},"Use the ",[69,117,119],{"href":118},"\u002Fen\u002Fplugins\u002Freference\u002Fclassic-editor-kit","Classic kit",". Individual adapters support custom assembly or replacement without duplicate names.",[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 { ClassicEditorTextStyle } from '@quirekit\u002Fclassic-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"," { ClassicEditorTextStyle } ",[107,139,140],{"class":132},"from",[107,142,144],{"class":143},"s-HEn"," '@quirekit\u002Fclassic-editor'\n",[10,146,147,148,152],{},"Use compatible versions available from your distribution source. This site uses the Alpha workspace. License labels come from package metadata; see ",[69,149,151],{"href":150},"\u002Fen\u002Fsupport","support and licensing",".",[25,154,156],{"id":155},"integration-by-editor","Integration by editor",[10,158,159],{},"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.",[161,162],"plugin-integration",{"name":5},[25,164,166],{"id":165},"configuration","Configuration",[10,168,169,170,152],{},"These are extension-level defaults. Presets can override them; they are distinct from current document attributes. See ",[69,171,165],{"href":172},"\u002Fen\u002Fplugins\u002Fconfiguration",[174,175,177],"h3",{"id":176},"htmlattributes","HTMLAttributes",[10,179,180],{},"HTML attributes added to serialized span elements.",[10,182,183,184],{},"Type：",[16,185,186],{},"Record\u003Cstring, unknown>",[10,188,189,190],{},"Default：",[16,191,192],{},"{}",[174,194,196],{"id":195},"mergenestedspanstyles","mergeNestedSpanStyles",[10,198,199],{},"Whether nested span styles should be merged before parsing.",[10,201,183,202],{},[16,203,204],{},"boolean",[10,206,189,207],{},[16,208,209],{},"true",[25,211,213],{"id":212},"commands-and-runtime","Commands and runtime",[10,215,216],{},"These commands are supplied directly by this extension. Availability depends on the installed schema, selection and protection policy; query editor.can() first.",[36,218,219,229],{},[39,220,221],{},[42,222,223,226],{},[45,224,225],{},"Command",[45,227,228],{},"Parameter signature",[55,230,231,243,255,267,279,291,303,315,327,339,351,363,375,387,399,411,423,435,447,459,471,483,495,507,519,531,543,555,567,579,591],{},[42,232,233,238],{},[60,234,235],{},[16,236,237],{},"toggleTextStyle",[60,239,240],{},[16,241,242],{},"toggleTextStyle()",[42,244,245,250],{},[60,246,247],{},[16,248,249],{},"removeEmptyTextStyle",[60,251,252],{},[16,253,254],{},"removeEmptyTextStyle()",[42,256,257,262],{},[60,258,259],{},[16,260,261],{},"setTextScale",[60,263,264],{},[16,265,266],{},"setTextScale(percentage: number)",[42,268,269,274],{},[60,270,271],{},[16,272,273],{},"unsetTextScale",[60,275,276],{},[16,277,278],{},"unsetTextScale()",[42,280,281,286],{},[60,282,283],{},[16,284,285],{},"setAllCaps",[60,287,288],{},[16,289,290],{},"setAllCaps()",[42,292,293,298],{},[60,294,295],{},[16,296,297],{},"unsetAllCaps",[60,299,300],{},[16,301,302],{},"unsetAllCaps()",[42,304,305,310],{},[60,306,307],{},[16,308,309],{},"setSmallCaps",[60,311,312],{},[16,313,314],{},"setSmallCaps()",[42,316,317,322],{},[60,318,319],{},[16,320,321],{},"unsetSmallCaps",[60,323,324],{},[16,325,326],{},"unsetSmallCaps()",[42,328,329,334],{},[60,330,331],{},[16,332,333],{},"toggleBold",[60,335,336],{},[16,337,338],{},"toggleBold()",[42,340,341,346],{},[60,342,343],{},[16,344,345],{},"toggleItalic",[60,347,348],{},[16,349,350],{},"toggleItalic()",[42,352,353,358],{},[60,354,355],{},[16,356,357],{},"setDirectBoldState",[60,359,360],{},[16,361,362],{},"setDirectBoldState(value: DirectEmphasisState)",[42,364,365,370],{},[60,366,367],{},[16,368,369],{},"setDirectItalicState",[60,371,372],{},[16,373,374],{},"setDirectItalicState(value: DirectEmphasisState)",[42,376,377,382],{},[60,378,379],{},[16,380,381],{},"setComplexScriptBold",[60,383,384],{},[16,385,386],{},"setComplexScriptBold(value: boolean)",[42,388,389,394],{},[60,390,391],{},[16,392,393],{},"unsetComplexScriptBold",[60,395,396],{},[16,397,398],{},"unsetComplexScriptBold()",[42,400,401,406],{},[60,402,403],{},[16,404,405],{},"setComplexScriptItalic",[60,407,408],{},[16,409,410],{},"setComplexScriptItalic(value: boolean)",[42,412,413,418],{},[60,414,415],{},[16,416,417],{},"unsetComplexScriptItalic",[60,419,420],{},[16,421,422],{},"unsetComplexScriptItalic()",[42,424,425,430],{},[60,426,427],{},[16,428,429],{},"setRunRightToLeft",[60,431,432],{},[16,433,434],{},"setRunRightToLeft(value: boolean)",[42,436,437,442],{},[60,438,439],{},[16,440,441],{},"unsetRunRightToLeft",[60,443,444],{},[16,445,446],{},"unsetRunRightToLeft()",[42,448,449,454],{},[60,450,451],{},[16,452,453],{},"setHiddenText",[60,455,456],{},[16,457,458],{},"setHiddenText(value: boolean)",[42,460,461,466],{},[60,462,463],{},[16,464,465],{},"unsetHiddenText",[60,467,468],{},[16,469,470],{},"unsetHiddenText()",[42,472,473,478],{},[60,474,475],{},[16,476,477],{},"setTextOutline",[60,479,480],{},[16,481,482],{},"setTextOutline(value: boolean)",[42,484,485,490],{},[60,486,487],{},[16,488,489],{},"unsetTextOutline",[60,491,492],{},[16,493,494],{},"unsetTextOutline()",[42,496,497,502],{},[60,498,499],{},[16,500,501],{},"setTextShadow",[60,503,504],{},[16,505,506],{},"setTextShadow(value: boolean)",[42,508,509,514],{},[60,510,511],{},[16,512,513],{},"unsetTextShadow",[60,515,516],{},[16,517,518],{},"unsetTextShadow()",[42,520,521,526],{},[60,522,523],{},[16,524,525],{},"setTextEmboss",[60,527,528],{},[16,529,530],{},"setTextEmboss(value: boolean)",[42,532,533,538],{},[60,534,535],{},[16,536,537],{},"unsetTextEmboss",[60,539,540],{},[16,541,542],{},"unsetTextEmboss()",[42,544,545,550],{},[60,546,547],{},[16,548,549],{},"setTextImprint",[60,551,552],{},[16,553,554],{},"setTextImprint(value: boolean)",[42,556,557,562],{},[60,558,559],{},[16,560,561],{},"unsetTextImprint",[60,563,564],{},[16,565,566],{},"unsetTextImprint()",[42,568,569,574],{},[60,570,571],{},[16,572,573],{},"setEmphasisMark",[60,575,576],{},[16,577,578],{},"setEmphasisMark(value: TextStyleEmphasisMark)",[42,580,581,586],{},[60,582,583],{},[16,584,585],{},"unsetEmphasisMark",[60,587,588],{},[16,589,590],{},"unsetEmphasisMark()",[42,592,593,598],{},[60,594,595],{},[16,596,597],{},"applyTextStyleFieldUpdates",[60,599,600],{},[16,601,602],{},"applyTextStyleFieldUpdates(updates: readonly TextStyleResolvedFieldUpdate[])",[10,604,605,606,610],{},"These are parameter signatures. See ",[69,607,609],{"href":608},"\u002Fen\u002Fbuild\u002Fcommands","commands and controls"," to connect UI while retaining one transaction\u002Fhistory authority.",[25,612,614],{"id":613},"next-steps","Next steps",[10,616,617,618,622,623,625],{},"Return to ",[69,619,621],{"href":620},"\u002Fen\u002Fplugins","all plugins",", or read ",[69,624,165],{"href":172}," to distinguish options, attributes and commands.",[10,627,628,629,633,634,638,639,643],{},"Continue with ",[69,630,632],{"href":631},"\u002Fen\u002Fclassic\u002Fquick-start","Classic quick start"," and ",[69,635,637],{"href":636},"\u002Fen\u002Fclassic\u002Fconfiguration","configuration\u002Flifetime",". See ",[69,640,642],{"href":641},"\u002Fen\u002Fbuild\u002Fproduct-plugin","product plugin development"," for your own UI and services.",[645,646,647],"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":649,"depth":649,"links":650},2,[651,652,653,654,659,660],{"id":27,"depth":649,"text":28},{"id":95,"depth":649,"text":96},{"id":155,"depth":649,"text":156},{"id":165,"depth":649,"text":166,"children":655},[656,658],{"id":176,"depth":657,"text":177},3,{"id":195,"depth":657,"text":196},{"id":212,"depth":649,"text":213},{"id":613,"depth":649,"text":614},"md",[5,18,663,664,177,196,237,249,261,273,285,297,309,321,333,345,357,369,381,393,405,417,429,441,453,465,477,489,501,513,525,537,549,561,573,585,597,5],"Classic 文字样式","classic","en",{"navigationTitle":5,"license":23},true,42,"\u002Fen\u002Fplugins\u002Freference\u002Fclassic-editor-text-style","Classic product extensions",{"title":5,"description":12},"plugins\u002Freference\u002Fclassic-editor-text-style.en","qTB3Sr52X-p2GhdfmHtll1prYUjkloOkwXcYx4CR4uI",1793045234284]