This custom element for Kentico Kontent gives editors a way to select content types from current project.
- Display optional debug panel for diagnostics
If you're interested in trying this out without deploying it yourself, you can use kontent-custom-element-type-selector.netlify.app This is the deployed version of the master branch in this repo. This should only be used for quick testing as it is subject to change
Netlify has made this easy. If you click the deploy button below, it will guide you through the process of deploying it to Netlify and leave you with a copy of the repository in your account as well.
You will need to add the custom element to a content type filling in the hosted code URL and the JSON parameters (see below for details).
The JSON parameters required as as follows:
Name | Type | Description |
---|---|---|
debug | boolean | (Optional) If present and set to true the debug panel will activate when editing a content item. |
Sample parameters JSON:
{
"debug": true
}
id
stays the same.
[
{
"id": "94803853-7af8-4b63-a218-5f440c0d692c",
"name": "Journal",
"codename": "journal",
"last_modified": "2020-07-17T08:39:50.4370746Z"
}
]
npm install
npm run serve
npm run build
npm run lint
Allow users to select what types you want in your listing on the website.