Hi, I'm currently trying to add a URL link to the default editor 'image' in Umbraco grid, However, I'm struggling to find how to extend these objects. I know I can create my own custom editor which can allow me to do this however I would prefer to add this functionality to the default image editor.
The default grid editors are relying on build-in property editors. This means that in order for you to change them, you would change files that are inside the "umbraco"-folder. Normally you should not edit files in that folder.
I would urge you to copy the view / controller that you need to change, and add the new properties to your own copy. The view for the media editor is in Umbraco/Views/propertyeditors/grid/editors/media.html
How to extend default grid-editors
Hi, I'm currently trying to add a URL link to the default editor 'image' in Umbraco grid, However, I'm struggling to find how to extend these objects. I know I can create my own custom editor which can allow me to do this however I would prefer to add this functionality to the default image editor.
Thanks, Chris.
well, the thing is ...
The default grid editors are relying on build-in property editors. This means that in order for you to change them, you would change files that are inside the "umbraco"-folder. Normally you should not edit files in that folder.
I would urge you to copy the view / controller that you need to change, and add the new properties to your own copy. The view for the media editor is in
Umbraco/Views/propertyeditors/grid/editors/media.html
There is some documentation here https://our.umbraco.com/documentation/getting-started/backoffice/property-editors/built-in-property-editors/grid-layout/build-your-own-editor
And a tutorial here https://skrift.io/articles/archive/how-to-create-custom-editors-for-the-umbraco-grid/
is working on a reply...