cocos-enhance-kit/assets/js/2f3677e7.92a86962.js
2024-12-20 14:47:15 +08:00

1 line
4.2 KiB
JavaScript

"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[8002],{3905:function(e,t,r){r.d(t,{Zo:function(){return p},kt:function(){return f}});var n=r(67294);function i(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?o(Object(r),!0).forEach((function(t){i(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function a(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}var u=n.createContext({}),s=function(e){var t=n.useContext(u),r=t;return e&&(r="function"==typeof e?e(t):c(c({},t),e)),r},p=function(e){var t=s(e.components);return n.createElement(u.Provider,{value:t},e.children)},d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},l=n.forwardRef((function(e,t){var r=e.components,i=e.mdxType,o=e.originalType,u=e.parentName,p=a(e,["components","mdxType","originalType","parentName"]),l=s(r),f=i,m=l["".concat(u,".").concat(f)]||l[f]||d[f]||o;return r?n.createElement(m,c(c({ref:t},p),{},{components:r})):n.createElement(m,c({ref:t},p))}));function f(e,t){var r=arguments,i=t&&t.mdxType;if("string"==typeof e||i){var o=r.length,c=new Array(o);c[0]=l;var a={};for(var u in t)hasOwnProperty.call(t,u)&&(a[u]=t[u]);a.originalType=e,a.mdxType="string"==typeof e?e:i,c[1]=a;for(var s=2;s<o;s++)c[s]=r[s];return n.createElement.apply(null,c)}return n.createElement.apply(null,r)}l.displayName="MDXCreateElement"},74075:function(e,t,r){r.r(t),r.d(t,{assets:function(){return p},contentTitle:function(){return u},default:function(){return f},frontMatter:function(){return a},metadata:function(){return s},toc:function(){return d}});var n=r(87462),i=r(63366),o=(r(67294),r(3905)),c=["components"],a={sidebar_position:3,description:"\u5c31\u50cf\u5728\u5176\u5b83\u7ec4\u4ef6\u91cc\u4e00\u6837\u4f7f\u7528\u81ea\u5b9a\u4e49\u6750\u8d28\u3002"},u="RichText \u81ea\u5b9a\u4e49\u6750\u8d28",s={unversionedId:"user-guide/text-render/text-richtext",id:"version-2.4.0/user-guide/text-render/text-richtext",title:"RichText \u81ea\u5b9a\u4e49\u6750\u8d28",description:"\u5c31\u50cf\u5728\u5176\u5b83\u7ec4\u4ef6\u91cc\u4e00\u6837\u4f7f\u7528\u81ea\u5b9a\u4e49\u6750\u8d28\u3002",source:"@site/versioned_docs/version-2.4.0/user-guide/text-render/text-richtext.md",sourceDirName:"user-guide/text-render",slug:"/user-guide/text-render/text-richtext",permalink:"/cocos-enhance-kit/docs/2.4.0/user-guide/text-render/text-richtext",draft:!1,tags:[],version:"2.4.0",sidebarPosition:3,frontMatter:{sidebar_position:3,description:"\u5c31\u50cf\u5728\u5176\u5b83\u7ec4\u4ef6\u91cc\u4e00\u6837\u4f7f\u7528\u81ea\u5b9a\u4e49\u6750\u8d28\u3002"},sidebar:"tutorialSidebar",previous:{title:"\u9ad8 DPI \u652f\u6301",permalink:"/cocos-enhance-kit/docs/2.4.0/user-guide/text-render/text-high-dpi"},next:{title:"\u52a8\u6001\u5408\u56fe",permalink:"/cocos-enhance-kit/docs/2.4.0/user-guide/dynamic-batcher/dynamic-batcher-intro"}},p={},d=[],l={toc:d};function f(e){var t=e.components,a=(0,i.Z)(e,c);return(0,o.kt)("wrapper",(0,n.Z)({},l,a,{components:t,mdxType:"MDXLayout"}),(0,o.kt)("h1",{id:"richtext-\u81ea\u5b9a\u4e49\u6750\u8d28"},"RichText \u81ea\u5b9a\u4e49\u6750\u8d28"),(0,o.kt)("p",null,(0,o.kt)("img",{alt:"richtextsettings",src:r(24204).Z,width:"772",height:"1012"})),(0,o.kt)("p",null,"\u50cf\u5f80\u5e38\u4e00\u6837\u4f7f\u7528\u5373\u53ef\u3002"))}f.isMDXComponent=!0},24204:function(e,t,r){t.Z=r.p+"assets/images/richtext-settings-a6d6727cea1bf03f9d6f5214d4d2f3cc.png"}}]);