简体   繁体   English

Umbraco:在Grid中嵌套内容?

[英]Umbraco: Nested content in Grid?

I am trying to add Nested Content as an Editor when I want to add new Content to my grid property in an Umbraco solution. 当我想在Umbraco解决方案的网格属性中添加新内容时,我试图将嵌套内容添加为编辑器。

But I am struggling to find out how to do this. 但我正在努力寻找方法。 In the grid.editors.config.js I must add the new editor like so; 在grid.editors.config.js中,我必须像这样添加新的编辑器。

{
     "name": "Accordion",
     "alias": "accordion",
     "view": "rte",
     "icon": "icon-ordered-list"
}

But what do I reference under view ? 但是我参考下view Currently, it is just referencing the rte . 当前,它只是引用rte And/or, do I need to add anything else? 和/或,我是否需要添加其他内容? I am using the newest version of Umbraco , so the Nested Content is now part of the Core. 我使用的是Umbraco的最新版本,因此嵌套内容现在是Core的一部分。

You could use LeBlender in this case. 在这种情况下,您可以使用LeBlender。 It works like Nested Content but for Grid. 它的工作方式类似于嵌套内容,但适用于网格。 One difference, it's not based on the document type. 区别之一是,它不是基于文档类型的。

LeBlender 勒布朗德

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM