Umbraco.CMS.Backoffice
Umbraco.CMS.Backoffice copied to clipboard
Adding Umbraco Flavored Markdown for url-pickers in a block list/grid and extract expressions from data source in general
Description
When Creating a block list that contains url picker at the block list label, it shows only the document type alias. which is not very helpful like this :.
so using Umbraco Flavored Markdown I have developed a new markdown that enable us to see what ever expression we put inside of a block list label:
Types of changes
- [ ] Bug fix (non-breaking change which fixes an issue)
- [x] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to change)
- [ ] Chore (minor updates related to the tooling or maintenance of the repository, does not impact compiled assets)
Motivation and context
When Creating a block list that contains url picker at the block list label, it shows only the document type alias. which is not very helpful.
How to test?
Go to the list configuration at the label section add
{@<url-picker-alias>[<target-index>].<prop-alias>}
exmaple : {@mainNavigation[0].name}
Screenshots (if appropriate)
Checklist
- [ ] If my change requires a change to the documentation, I have updated the documentation in this pull request.
- [x] I have read the CONTRIBUTING document.
- [ ] I have added tests to cover my changes.