@ex.ToString()-} - -@functions{ - - public static string EditorView(dynamic contentItem) - { - string view = contentItem.editor.render != null ? contentItem.editor.render.ToString() : contentItem.editor.view.ToString(); - view = view.Replace(".html", ".cshtml"); - - if (!view.Contains("/")) - { - view = "grid/editors/" + view; - } - - return view; - } -} diff --git a/src/templates/UmbracoPackageTemplate/src/UmbracoPackageTemplate.TestSite/Views/Partials/grid/editors/embed.cshtml b/src/templates/UmbracoPackageTemplate/src/UmbracoPackageTemplate.TestSite/Views/Partials/grid/editors/embed.cshtml deleted file mode 100644 index 74c8fe2..0000000 --- a/src/templates/UmbracoPackageTemplate/src/UmbracoPackageTemplate.TestSite/Views/Partials/grid/editors/embed.cshtml +++ /dev/null @@ -1,11 +0,0 @@ -@inherits Umbraco.Cms.Web.Common.Views.UmbracoViewPage
This is a test website.
" + "richText": "\u003Cp\u003EThis is a test website.\u003C/p\u003E" }, { "contentTypeKey": "901f83af-55ea-4687-acde-22a7e99bf52e", "udi": "umb://element/b9b4ff33febf49909e77804b3e4ec6c3", - "image": [ - { - "key": "ed1fac46-3ad8-4651-a97a-8c2d67e5bb64", - "mediaKey": "102b4645-f186-413f-aa26-6a0a3278e001" - } - ] + "image": "[{\u0022key\u0022:\u0022ed1fac46-3ad8-4651-a97a-8c2d67e5bb64\u0022,\u0022mediaKey\u0022:\u0022102b4645-f186-413f-aa26-6a0a3278e001\u0022}]" }, { "contentTypeKey": "98b3a50f-1496-4a9d-b863-f150b1032e83", diff --git a/src/templates/UmbracoPackageTemplate/src/UmbracoPackageTemplate.TestSite/uSync/v9/ContentTypes/basepage.config b/src/templates/UmbracoPackageTemplate/src/UmbracoPackageTemplate.TestSite/uSync/v14/ContentTypes/basepage.config similarity index 96% rename from src/templates/UmbracoPackageTemplate/src/UmbracoPackageTemplate.TestSite/uSync/v9/ContentTypes/basepage.config rename to src/templates/UmbracoPackageTemplate/src/UmbracoPackageTemplate.TestSite/uSync/v14/ContentTypes/basepage.config index fbc4348..03b6136 100644 --- a/src/templates/UmbracoPackageTemplate/src/UmbracoPackageTemplate.TestSite/uSync/v9/ContentTypes/basepage.config +++ b/src/templates/UmbracoPackageTemplate/src/UmbracoPackageTemplate.TestSite/uSync/v14/ContentTypes/basepage.config @@ -6,7 +6,7 @@