I am building a new editor to meet a clients special needs, and for that i need some "overlays" that i get from the editorService
back in version 7 i was super happy that i could allways reuse a editor from umbraco. and it seems u still can in version 8 but the documentation is just plain wrong or outdated.
And in my controller i just have an array of props i want to render
vm.properties = [
{
alias: "test",
label: "asd",
description: "Alias",
value: "asd",
view: "/umbraco/Views/propertyeditors/textbox/textbox.html"
},
{
alias: "sadasd",
label: "LAbel",
description: "This is my property.",
value: "sad",
view: "/umbraco/Views/propertyeditors/textbox/textbox.html" //working but styling is off
},
{
alias: "asdasddd",
label: "LAbel",
description: "This is my property.",
value: "sad",
view: "contentpicker"
},
{
alias: "test",
label: "Test",
description: "This is my property.",
value: "sad",
view: "textbox" // not working trows 404
}
];
My problem is that i have to use abesolut paths to the views. ells i get a 404 error but if i use abeslute paths it renders very very wrong there is a textbox but it looks like crap
Reusing the umbraco property editors
I am building a new editor to meet a clients special needs, and for that i need some "overlays" that i get from the editorService
back in version 7 i was super happy that i could allways reuse a editor from umbraco. and it seems u still can in version 8 but the documentation is just plain wrong or outdated.
My view is straight forward
And in my controller i just have an array of props i want to render
My problem is that i have to use abesolut paths to the views. ells i get a 404 error but if i use abeslute paths it renders very very wrong there is a textbox but it looks like crap
WHAt am i missing ??
follow this thread https://our.umbraco.com/forum/umbraco-7/developing-umbraco-7-packages/55678-How-to-reuse-an-Umbraco-Property-Editor-from-dialogService
is working on a reply...