cocos-enhance-kit/assets/js/1f2b28d1.c39ef4ae.js

1 line
4.8 KiB
JavaScript
Raw Normal View History

"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[1398],{3905:function(e,t,r){r.d(t,{Zo:function(){return p},kt:function(){return m}});var n=r(67294);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function i(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 a(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach((function(t){o(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function c(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var u=n.createContext({}),s=function(e){var t=n.useContext(u),r=t;return e&&(r="function"==typeof e?e(t):a(a({},t),e)),r},p=function(e){var t=s(e.components);return n.createElement(u.Provider,{value:t},e.children)},l={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},d=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,i=e.originalType,u=e.parentName,p=c(e,["components","mdxType","originalType","parentName"]),d=s(r),m=o,f=d["".concat(u,".").concat(m)]||d[m]||l[m]||i;return r?n.createElement(f,a(a({ref:t},p),{},{components:r})):n.createElement(f,a({ref:t},p))}));function m(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var i=r.length,a=new Array(i);a[0]=d;var c={};for(var u in t)hasOwnProperty.call(t,u)&&(c[u]=t[u]);c.originalType=e,c.mdxType="string"==typeof e?e:o,a[1]=c;for(var s=2;s<i;s++)a[s]=r[s];return n.createElement.apply(null,a)}return n.createElement.apply(null,r)}d.displayName="MDXCreateElement"},17277:function(e,t,r){r.r(t),r.d(t,{assets:function(){return p},contentTitle:function(){return u},default:function(){return m},frontMatter:function(){return c},metadata:function(){return s},toc:function(){return l}});var n=r(87462),o=r(63366),i=(r(67294),r(3905)),a=["components"],c={sidebar_position:5,description:"\u8be6\u7ec6\u4e86\u89e3\u4f7f RichText \u652f\u6301\u81ea\u5b9a\u4e49\u6750\u8d28\u7684\u5b9e\u73b0\u65b9\u5f0f\u3002"},u="\u4f7f RichText \u652f\u6301\u81ea\u5b9a\u4e49\u6750\u8d28",s={unversionedId:"theory-guide/richtext-custom-material-theory",id:"version-1.1.0/theory-guide/richtext-custom-material-theory",title:"\u4f7f RichText \u652f\u6301\u81ea\u5b9a\u4e49\u6750\u8d28",description:"\u8be6\u7ec6\u4e86\u89e3\u4f7f RichText \u652f\u6301\u81ea\u5b9a\u4e49\u6750\u8d28\u7684\u5b9e\u73b0\u65b9\u5f0f\u3002",source:"@site/versioned_docs/version-1.1.0/theory-guide/richtext-custom-material-theory.md",sourceDirName:"theory-guide",slug:"/theory-guide/richtext-custom-material-theory",permalink:"/cocos-enhance-kit/docs/1.1.0/theory-guide/richtext-custom-material-theory",draft:!1,tags:[],version:"1.1.0",sidebarPosition:5,frontMatter:{sidebar_position:5,description:"\u8be6\u7ec6\u4e86\u89e3\u4f7f RichText \u652f\u6301\u81ea\u5b9a\u4e49\u6750\u8d28\u7684\u5b9e\u73b0\u65b9\u5f0f\u3002"},sidebar:"tutorialSidebar",previous:{title:"\u9ad8 DPI \u6587\u672c\u6e32\u67d3",permalink:"/cocos-enhance-kit/docs/1.1.0/theory-guide/high-dpi-theory"},next:{title:"\u589e\u5f3a Spine",permalink:"/cocos-enhance-kit/docs/1.1.0/theory-guide/spine-theory"}},p={},l=[],d={toc:l};function m(e){var t=e.components,r=(0,o.Z)(e,a);return(0,i.kt)("wrapper",(0,n.Z)({},d,r,{components:t,mdxType:"MDXLayout"}),(0,i.kt)("h1",{id:"\u4f7f-richtext-\u652f\u6301\u81ea\u5b9a\u4e49\u6750\u8d28"},"\u4f7f RichText \u652f\u6301\u81ea\u5b9a\u4e49\u6750\u8d28"),(0,i.kt)("div",{class