...
Advanced Tables - Table Plus |
---|
heading | 0 |
---|
multiple | false |
---|
enableHeadingAttributes | false |
---|
enableSorting | false |
---|
class | m5-configuration-tree |
---|
enableHighlighting | false |
---|
|
|
...
Advanced Tables - Table Plus |
---|
heading | 0 |
---|
multiple | false |
---|
enableHeadingAttributes | false |
---|
enableSorting | false |
---|
class | m5-configuration-tree |
---|
enableHighlighting | false |
---|
|
节点名 | 值 |
---|
pages pages | | demo-features | | stkHome | | stkSection | | stkArticle | |
|
这些模板可供编辑者在页面应用里选择使用。它们可以出现在页面应用的模板下拉菜单里,只需要:
在通用属性里,visible
属性设置为true
。- 模板在企业版的缺省网站定义或其他网站定义里设置为可用。
- 编辑者的权限已经可以获取特定的模板了。如要通过角色来限制权限,可在原型里的
/availability/<template name>/roles
节点下配置。
...
Section |
---|
Column |
---|
| 模板原型 Advanced Tables - Table Plus |
---|
heading | 0 |
---|
multiple | false |
---|
enableHeadingAttributes | false |
---|
enableSorting | false |
---|
class | m5-configuration-tree |
---|
enableHighlighting | false |
---|
| 节点名 | 值 |
---|
default | | templates | | prototype | | areas | | main | | areas | | intro | | areas | | infoBlock | |
|
|
Column |
---|
| 模板定义 Advanced Tables - Table Plus |
---|
heading | 0 |
---|
multiple | false |
---|
enableHeadingAttributes | false |
---|
enableSorting | false |
---|
class | m5-configuration-tree |
---|
enableHighlighting | false |
---|
| 节点名 | 值 |
---|
pages | | stkEvent | | areas | | main | | areas | | intro | | areas | | infoBlock | |
|
|
|
为了使模板具有唯一性,您可以在模板定义里:
...
- 页面级,如引用一个新的
templateScript
。以下讨论的stkRedirect
模板就是这样的一个例子。 - 导航级,通过修改缺省导航或编写一个全新的配置。这通常不是必须的,但可能适用于特别定制的模板。
- 区域级,通过引用不同的脚本并改变区域行为。参考
main
区域样例。 - 变异形式级,在特定模板里禁止区域,这样区域只会在指定的变异形式绘制,而不会在其他变异形式绘制。参考移动性了解这个选项是如何用在
stkHome
模板的stage
区域里的。 - JavaScript和CSS级,引用不同的CSS表或JavaScript。很少需要这种做法,无论原型还是具体模板定义都没有使用,不过CSS和JavaScript里有一个配置样例。
...
参考资料部分的页面>属性里有一个完整的列表,包含了可用的模板属性及用法。
通用属性
模板原型里分配的唯一一个所有具体模板都可用的属性是templateScript
,用来引用管理页面脚本,即main.ftl。
...
有两个例外:
stkGlossary
模板使用它自己的modelClass
,即GlossaryTemplateModel
,这个模型类通过扩展STKPageModel<STKPage>
来完成按字母排序的词汇表。
Advanced Tables - Table Plus |
---|
heading | 0 |
---|
multiple | false |
---|
enableHeadingAttributes | false |
---|
enableSorting | false |
---|
class | m5-configuration-tree |
---|
enableHighlighting | false |
---|
|
节点名 | 值 |
---|
pages pages | | stkGlossary | | areas | | bodyID | glossary | category | feature | class | info.magnolia.module.templatingkit.templates.pages.STKPage | dialog | standard-templating-kit:pages/glossary/stkGlossaryProperties | i18nBasename | info.magnolia.module.templatingkit.messages | modelClass | info.magnolia.module.templatingkit.templates.GlossaryTemplateModel | renderType | stk | subcategory | glossary | title | templates.stkGlossary.title | visible | true |
|
在页面编辑器里,页面显示到内部或外部重定向的路径,但在预览里,则显示目标页面。/demo-project/service/m5-campaign
页面使用的是stkRedirect
模板。
...
bodyID
:这是模板专有样式的CSS表所用的标签。参考Body类和ID以获得更多信息。bodyID
和subcategory
值常常会一致,但它们彼此之间没有依赖关系。category
和subcategory
:每个模板都会分配到一个类别里,同时大多数模板也会分配到子类。很多场合都使用了类别,参考类别和子类。dialog
:每个页面模板会连接到它自己的stk<Template name>Properties
对话框,这个对话框在STK > 对话框定义 /pages
里配置。页面顶部工具栏里的属性按钮可以打开此对话框,控制浏览器标题和导航标题及行为,页面元数据(关键字和描述),变异形式排除和页面依赖性。详细信息参看属性对话框。title
:在页面应用的模板下拉菜单里显示的模板标题。
Advanced Tables - Table Plus |
---|
heading | 0 |
---|
multiple | false |
---|
enableHeadingAttributes | false |
---|
enableSorting | false |
---|
class | m5-configuration-tree |
---|
enableHighlighting | false |
---|
|
节点名 | 值 |
---|
pages pages | | stkImageGallery | | areas | | bodyID | image-gallery | category | feature | class | info.magnolia.module.templatingkit.templates.pages.STKPage | dialog | standard-templating-kit:pages/imageGallery/stkImageGalleryProperties | i18nBasename | info.magnolia.module.templatingkit.messages | modelClass | info.magnolia.module.templatingkit.templates.pages.STKPageModel | renderType | stk | subcategory | imageGallery | title | templates.stkImageGallery.title | visible | true |
|
extends属性Magnolia CMS使用扩展机制来最小化配置。这个机制类似于单个模板定义和原型定义之间的关系,只不过它很直观。扩展配置中只配置修改、例外和添加物,其他所有配置都照搬基本配置。
...
Advanced Tables - Table Plus |
---|
heading | 0 |
---|
multiple | false |
---|
enableHeadingAttributes | false |
---|
enableSorting | false |
---|
class | m5-configuration-tree |
---|
enableHighlighting | false |
---|
|
节点名 | 值 |
---|
pages | stkArticlepages | | stkArticle | | stkLargeArticle | | stkNews | | areas | | dialog | standard-templating-kit:pages/news/stkNewsProperties | extends | /modules/standard-templating-kit/templates/pages/stkArticle | subcategory | news | title | templates.stkNews.title |
|
...
Advanced Tables - Table Plus |
---|
heading | 0 |
---|
multiple | false |
---|
enableHeadingAttributes | false |
---|
enableSorting | false |
---|
class | m5-configuration-tree |
---|
enableHighlighting | false |
---|
|
节点名 | 值 |
---|
pages pages | | demo-features | | stkSectionNoExtras | | areas | | extends | /modules/standard-templating-kit/templates/pages/stkSection | title | Section no Extras | stkSectionNoHeader | | stkSectionFloating | |
|
extends属性也可设置为
override
来覆写部分扩展配置。参考使组件可用中的样例。
...
区域定义可以引用对话框。除了stkHome
的所有具体模板的main/intro
区域都使用该选项,来引用模板专有的属性对话框。更多信息参考intro区域。
Advanced Tables - Table Plus |
---|
heading | 0 |
---|
multiple | false |
---|
enableHeadingAttributes | false |
---|
enableSorting | false |
---|
class | m5-configuration-tree |
---|
enableHighlighting | false |
---|
|
节点名 | 值 |
---|
stkSection | | areas | | main | | areas | | intro | | class | info.magnolia.module.templatingkit.templates.MainAreaIntro | dialog | standard-templating-kit:pages/section/stkSectionIntro | divID | page-intro | showAuthorDate | false | showTextFeatures | false |
|
使组件可用
...
Advanced Tables - Table Plus |
---|
heading | 0 |
---|
multiple | false |
---|
enableHeadingAttributes | false |
---|
enableSorting | false |
---|
class | m5-configuration-tree |
---|
enableHighlighting | false |
---|
|
节点名 | 值 |
---|
stkArticle | | areas | | promos | | availableComponents | | stkTextImage | | id | standard-templating-kit:components/content/stkTextImage | stkQuotedText | | id | standard-templating-kit:components/content/stkQoutedText |
|
...
...
...
您可以这样来测试:以样例编辑者Eric(username/password=eric
)的身份登录,尝试在任意文章页面的content
区域添加stkHTML
组件。结果将会是,stkHTML
组件在选择器对话框里不可用。
...
特性模板覆写了默认类型,将其改为single
。特性组件在/areas/main/areas/content/autoGeneration/content/singleton
节点里添加。参考特色组件和自动生成的组件。
Advanced Tables - Table Plus |
---|
heading | 0 |
---|
multiple | false |
---|
enableHeadingAttributes | false |
---|
enableSorting | false |
---|
class | m5-configuration-tree |
---|
enableHighlighting | false |
---|
|
节点名 | 值 |
---|
stkImageGallery | | areas | | main | | areas | | content | | autoGeneration | | content | | singleton | | maxImages | 9 | nodeType | mgnl:component | templateId | standard-templating-kit:components/features/stkImageGallery | generatorClass | info.magnolia.rendering.generator.CopyGenerator | type | single |
|
使能区域
大多数区域在原型里是使能的,因此需要在特定的模板定义里禁用,改变默认设置。您可以将/areas/<area name>
内容节点下的enabled
属性节点值设置为false
来做到。另一方面,类似stage
或platform
的区域由于很少使用,所以在原型里是不使能的,这种情况就需要设置enabled
属性值为true
来改变。
...
- 对扩展模板与基本模板有着同样的作用。例如,如果您在
stkArticle
上禁用extras
,所有内容模板上都会禁用该区域;要在您的扩展模板上使能该区域,需要在扩展模板上添加enabled
属性并设置为true
。 - 可能影响页面布局。以下是一些样例,样例中的结果主要是由于页面排列和内容包装的方法造成的。
- 当
extras
被禁用时,main
区域会展开占用所有的可用空间。
- 当
promos
被禁用时,原本它占用的可用空间里什么都不会绘制。
- 当
base
、stage
或是sectionHeader
被禁用时,内容会上移显示,就像被禁用的区域不曾存在一样。区域在使能但不包含任何内容时,预览模式里也会发生同样的情况。下面的截图为禁用了stage
的stkHome
模板。
...
/areas/main
节点:- 使用它自己的类,
SectionMainArea
,来定义opener
区域属性。 - 由
/section/mainArea.ftl
脚本绘制。该脚本与默认使用的/global/mainArea.ftl
脚本唯一的不同在于,它使用[@cms.area name="opener"/]
标签添加了opener
区域。
/areas/main/areas/opener
节点:
...
默认情况下,您可以扩展stkHome
和stkSection
模板来配置一个浮显模板,这是因为它们都使用SectionMainArea
类和要点组件。其它的场景则需要定制。STK > 模板定义 /pages/demo-features/stkSectionFloating
里的stkSectionFloating
模板就是扩展stkSection
模板的一个例子,它:
这是基于stkSectionFloating
模板的demo-features/section-variables/floating
页在公共实例上的样子。该页解析到body
元素里包含的一个属性(attribute),即allowedBodyClass=nav-col-float2
里。main
区域的每个要点都包装在一个DIV元素内。
...
变异形式可以用于多种用途,例如重新排版智能手机和平板设备的内容,或已登录用户组的特定输出等。移动性里有关于演示站点里智能手机变异形式smartphone
变异形式样例的详细讨论,通道里也有此核心功能的更多信息。
变异形式通常在网站定义里配置,但也可以在模板定义里的模板级别上配置。舞台是使用该选项在智能手机上禁用stage
区域的例子。
...
Advanced Tables - Table Plus |
---|
heading | 0 |
---|
multiple | false |
---|
enableHeadingAttributes | false |
---|
enableSorting | false |
---|
class | m5-configuration-tree |
---|
enableHighlighting | false |
---|
|
节点名 | 值 |
---|
pages | | stkSection | | areas | | variations | | newsletter | | areas | | sectionHeader | | enabled | false | extras | | enabled | false | promos | | enabled | false | base | | enabled | false |
|
如果您在任意基于stkSection
模板的页面上,只需将扩展名从.html
改为.newsletter
,变异形式的内容就出现了。
...
变异形式通过DefaultRenderableVariationResolver
解析,这个解析器是(ChannelVariationResolver
和ExtensionVariationResolver
的结合。的结合)
解析。
Warning |
---|
此功能使用时需小心,因为它允许用户通过改变URL扩展名来获取内容。如果用于敏感内容,那么考虑扩展DefaultRenderableVariationResolver 来提供额外的安全措施。 |
...
Advanced Tables - Table Plus |
---|
heading | 0 |
---|
multiple | false |
---|
enableHeadingAttributes | false |
---|
enableSorting | false |
---|
class | m5-configuration-tree |
---|
enableHighlighting | false |
---|
|
节点名 | 值 |
---|
pages | | stkArticle | | cssFiles | | articleStyles | | farFutureCaching | true | link | /resources/templating-kit/css/articleStyles.css | media | screen | jsFiles | | fireworks | | farFutureCaching | true | link | /resources/templating-kit/js/fireworks.js |
|
...
Advanced Tables - Table Plus |
---|
heading | 0 |
---|
multiple | false |
---|
enableHeadingAttributes | false |
---|
enableSorting | false |
---|
class | m5-configuration-tree |
---|
enableHighlighting | false |
---|
|
节点名 | 值 |
---|
components | | content | | teasers | | extras | | promos | | stkPromo | | features | | links | | stages | | footer | | pur | |
|
组件定义与页面定义相似,使用相同的模板定义对象。页面和组件使用相同路径语法引用它们的对话框。此外,页面和组件还使用相同的绘制工具绘制。
...
- 创建一个对话框。
- 创建一个组件定义。
- 创建一个组件脚本。
- 使组件对组件脚本可用。
编辑者可以在STK > 对话框定义里配置的相关组件对话框输入内容,来使用组件。对话框定义通过dialog
属性映射到组件定义里。
大多数组件在区域定义里分配给页面模板,区域定义可以是模板原型或具体页面模板定义的。
组件模板属性
所有的STK组件定义都有以下属性:
...
Advanced Tables - Table Plus |
---|
heading | 0 |
---|
multiple | false |
---|
enableHeadingAttributes | false |
---|
enableSorting | false |
---|
class | m5-configuration-tree |
---|
enableHighlighting | false |
---|
|
节点名 | 值 |
---|
components | | content | | stkQuotedText | | deletable | false | description | paragraphs.content.stkQuotedText.description | dialog | standard-templating-kit:components/content/stkQuotedText | i18nBasename | info.magnolia.module.templatingkit.messages | moveable | false | renderType | stk | templateScript | /templating-kit/components/content/quotedText.ftl | title | paragraphs.content.stkQuotedText.title | writable | true |
|
以上配置样例中,deletable
、moveable
和writable
属性的配置使组件可编辑,但不可移动或删除。以下为编辑者在页面编辑器里看到的。
...
Advanced Tables - Table Plus |
---|
heading | 0 |
---|
multiple | false |
---|
enableHeadingAttributes | false |
---|
enableSorting | false |
---|
class | m5-configuration-tree |
---|
enableHighlighting | false |
---|
|
节点名 | 值 |
---|
components | | teasers | | stkTeaser | | parameters | | areas | | description | paragraphs.teasers.stkTeaser.description | dialog | standard-templating-kit:components/teasers/stkTeaser | i18nBasename | info.magnolia.module.templatingkit.messages | modelClass | info.magnolia.module.templatingkit.templates.components.InternalTeaserModel | renderType | stk | templateScript | /templating-kit/components/teasers/internalPage.ftl | title | paragraphs.teasers.stkTeaser.title |
|
...
Advanced Tables - Table Plus |
---|
heading | 0 |
---|
multiple | false |
---|
enableHeadingAttributes | false |
---|
enableSorting | false |
---|
class | m5-configuration-tree |
---|
enableHighlighting | false |
---|
|
节点名 | 值 |
---|
components | | teasers | | stkTeaserNewsList | | parameters | | divClass | teaser latest | divIDPrefix | teaser | headingLevel | h2 | searchForSubcategory | news | teaserLinkType | internal | description | paragraphs.teasers.stkTeaserNewsList.description | dialog | standard-templating-kit:components/teasers/stkTeaserNewsList | i18nBasename | info.magnolia.module.templatingkit.messages | modelClass | info.magnolia.module.templatingkit.templates.components.NewsListModel | renderType | stk | templateScript | /templating-kit/components/teasers/newsList.ftl | title | paragraphs.teasers.stkTeaserNewsList.title |
|
...
Advanced Tables - Table Plus |
---|
heading | 0 |
---|
multiple | false |
---|
enableHeadingAttributes | false |
---|
enableSorting | false |
---|
class | m5-configuration-tree |
---|
enableHighlighting | false |
---|
|
节点名 | 值 |
---|
components | | teasers | | stkPureLinkList | | parameters | | areas | | linkList | | availableComponents | | stkInternalLink | | id | standard-templating-kit:components/links/stkInternalLink | stkExternalLink | | stkDownloadLink | | description | areas.components.linkList.description | enabled | true | templateScript | /templating-kit/components/links/linkListArea.ftl | title | areas.components.linkList.title | type | list | description | paragraphs.teasers.stkTeaserPureLinkList.description | dialog | standard-templating-kit:components/teasers/stkTeaserPureLinkList | i18nBasename | info.magnolia.module.templatingkit.messages | renderType | stk | templateScript | /templating-kit/components/teasers/pureLinkList.ftl | title | paragraphs.teasers.stkTeaserPureLinkList.title |
|
...
Code Block |
---|
…
[#list components as component ]
[@cms.component content=component /]
[/#list]
… |
extends属性扩展机制被广泛使用来最小化extras
组件的配置。extras
组件有对应的teaser
组件,这两个区域绘制的组件基本相同,只有CSS样式和继承行为不一样。
...
Advanced Tables - Table Plus |
---|
heading | 0 |
---|
multiple | false |
---|
enableHeadingAttributes | false |
---|
enableSorting | false |
---|
class | m5-configuration-tree |
---|
enableHighlighting | false |
---|
|
节点名 | 值 |
---|
components | | teasers | | stkTeaserContact | | parameters | | divClass | box vcard | divIDPrefix | teaser | headingLevel | h2 | teaserLinkType | internal | description | paragraphs.teasers.stkTeaserContact.description | dialog | standard-templating-kit:components/teasers/stkTeaserContact | i18nBasename | info.magnolia.module.templatingkit.messages | modelClass | info.magnolia.module.templatingkit.templates.components.ContactModel | renderType | stk | templateScript | /templating-kit/components/teasers/contact.ftl | title | paragraphs.teasers.stkTeaserContact.title |
|
...
Advanced Tables - Table Plus |
---|
heading | 0 |
---|
multiple | false |
---|
enableHeadingAttributes | false |
---|
enableSorting | false |
---|
class | m5-configuration-tree |
---|
enableHighlighting | false |
---|
|
节点名 | 值 |
---|
components | | extras | | stkExtrasContact | | parameters | | divIDPrefix | box | dialog | standard-templating-kit:components/extras/stkExtrasContact | extends | /modules/standard-templating-kit/templates/components/teasers/stkTeaserContact |
|
...
Advanced Tables - Table Plus |
---|
heading | 0 |
---|
multiple | false |
---|
enableHeadingAttributes | false |
---|
enableSorting | false |
---|
class | m5-configuration-tree |
---|
enableHighlighting | false |
---|
|
节点名 | 值 |
---|
pages | | stkEvent | | areas | | extras | | areas | | extras1 | | autoGeneration | | content | | calendar | | nodeType | mgnl:component | templateId | standard-templating-kit:components/extras/stkExtrasCalendar | generatorClass | info.magnolia.rendering.generator.CopyGenerator |
|
...
Advanced Tables - Table Plus |
---|
heading | 0 |
---|
multiple | false |
---|
enableHeadingAttributes | false |
---|
enableSorting | false |
---|
class | m5-configuration-tree |
---|
enableHighlighting | false |
---|
|
节点名 | 值 |
---|
pages | | stkArticle | | areas | | main | | areas | | content | | availableComponents | | autoGeneration | | content | | conference | | editHTML | <p><font color="#669900" size="+1">Sign up for the</font><font size="+1">....../strong></a>.</font> </p> | nodeType | mgnl:component | templateId | standard-templating-kit:components/content/stkHTML | generatorClass | info.magnolia.rendering.generator.CopyGenerator |
|
这里是基于stkArticle
模板的一个新页面上的自动生成组件。
特性组件
特性模板主要由在页面模板的特性模板主要通过页面模板的main/content
区域绘制的组件区分开。区域绘制的组件标识。stkImagGallery
,stkFAQ
,stkSiteMap
等组件在stkImageGallery
, stkFAQ
, stkSiteMap
等模板的该区域绘制。组件由页面模板自动绘制,由自动生成特性完成。
组件定义与其他组件使用的配置方法,您可以在特性组件定义与其他组件配置方法相同,您可以在STK > 模板定义 /components/features
里查看。
下列所示的stkSiteMap
组件:
- 使用使用了
SiteMapParagraphModel
,包含了业务逻辑,并使,这个模型类包含业务逻辑,并使maxLevels
,、showSiteMapRoot
,和titleToUse
属性对脚本可用。 - 由
siteMap.ftl
脚本绘制,该脚本可在脚本绘制。该脚本在STK > 模板 /templating-kit/components/features/siteMap.ftl
找到。。
Advanced Tables - Table Plus |
---|
heading | 0 |
---|
multiple | false |
---|
enableHeadingAttributes | false |
---|
enableSorting | false |
---|
class | m5-configuration-tree |
---|
enableHighlighting | false |
---|
|
节点名 | 值 |
---|
components | | features | | stkSiteMap | | description | paragraphs.features.stkSiteMap.description | dialog | standard-templating-kit:components/features/stkSiteMap | i18nBasename | info.magnolia.module.templatingkit.messages | modelClass | info.magnolia.module.templatingkit.templates.components.SiteMapParagraphModel | renderType | stk | templateScript | /templating-kit/components/features/siteMap.ftl | title | paragraphs.features.stkSiteMap.title |
|
当一个基于stkSiteMap
模板的页面被创建时,组件被使用区域定义(见下表)中配置的缺省值绘制。编辑者可以在模板的页面被创建时,组件使用区域定义中配置的缺省值(见下表)绘制。编辑者可以在STK > 对话框定义 /components/features/stkSiteMap
下配置的stkSiteMap
组件对话框里修改这些缺省值。查看组件对话框里修改这些缺省值。您也可以查看demo-project/service/site-map
页了解它是如何工作的。
在stkSiteMap
页面模板的页面模板里,areas/main/areas/content
节点下:节点的:
/autoGeneration
节点在generatorClass
节点的CopyGenerator
类里分配。该生成器创建节点和属性,其中属性和链接到类里分配。该生成器创建节点和属性,使他们与templateId
属性并且只适用于属性里链接到的且只适用于autoGeneration
节点的配置一致。- 在
autoGeneration/content/singleton
节点里: - 缺省值被分配给显示给组件模型的属性。组件模型显示的属性使用缺省值。
nodeType
被设置为设置为mgnl:component
。templatedId
属性引用stkSiteMap
组件定义,使用<module name>:<path to component>
结构。
Advanced Tables - Table Plus |
---|
heading | 0 |
---|
multiple | false |
---|
enableHeadingAttributes | false |
---|
enableSorting | false |
---|
class | m5-configuration-tree |
---|
enableHighlighting | false |
---|
|
节点名 | 值 |
---|
pages | | stkSiteMap | | areas | | main | | areas | | intro | | content | | autoGeneration | | content | | singleton | | maxLevels | 3 | nodeType | mgnl:component | showSiteMapRoot | true | templateId | standard-templating-kit:components/features/stkSiteMap | titleToUse | title | generatorClass | info.magnolia.rendering.generator.CopyGenerator | type | single | class | info.magnolia.module.templatingkit.templates.MainArea |
|
这里是这是stkSiteMap
组件和demo-project/service/site-map
页面上的对话框。
...
在上面的对话框里,maxLevels
属性被设置为4
。这是因为模板定义里的缺省值,这是因为模板定义里的缺省值3
在此页上已经被覆写了。新值4
被存在JCR中,您可以在工具 > JCR /demo-project/service/site-map/content/singleton
中验证。
Advanced Tables - Table Plus |
---|
heading | 0 |
---|
multiple | false |
---|
enableHeadingAttributes | false |
---|
enableSorting | false |
---|
class | m5-configuration-tree |
---|
enableHighlighting | false |
---|
|
节点名 | 值 |
---|
demo-project | | service | | site-map | | content | | singleton | | maxLevels | 4 | showSiteMapRoot | true | titleToUse | title |
|
如果您想要在模板定义中修改一个自动生成的组件的缺省设置,您需要首先在JCR浏览器中删除这个内容节点(如果您想要在模板定义中修改一个自动生成组件的默认设置,您需要首先在JCR浏览器中删除这个内容节点(singleton
)并刷新该页。系统会使用新的模板定义属性在页面上重新创建该组件。这是一个已知问题,您可以在MAGNOLIA-4482里跟踪进展。