【发布时间】:2020-05-20 13:07:52
【问题描述】:
就像核心中的 Accordion 和 Carousel 组件一样,您可以打开组件对话框并通过单击多字段上的“添加”按钮添加自定义嵌套组件。我正在尝试将此功能添加到我的自定义组件的对话框中。
在我的对话框的 .content.xml 中,我有这个 sn-p 用于我的多字段或子编辑器。
<slides
jcr:primaryType="nt:unstructured"
sling:resourceType="core/wcm/components/commons/editor/dialog/childreneditor/v1/childreneditor"/>
在这个文件的顶部,我有
extraClientlibs="
[my_custom_clientlibs,core.wcm.components.commons.editor.dialog.childreneditor.v1]
问题是当我在我的新组件上单击对话框的添加按钮时,什么都没有弹出。
我在这里错过了什么?
【问题讨论】:
标签: aem aem-core-wcm-components