Collection of the simple Kentico Cloud custom elements used for quick testing, UI test (Github pages are serving sample custom elements) runs and further development.
- Open your draft-client and run
npm run build-custom-element
- Start your draft-client local server
npm run start-dev
- Create your custom element in the UI and paste custom element url
- Create your custom element in the UI and paste custom element url with appended query string
<yourElementUrl>?apiUrl=\<pathToHostedApp\>/js-api/custom-element/v1/custom-element.min.js
- Simple markdown element: https://kenticointernal.github.io/cloud-custom-element-samples/markdown.html
- RGB color picker: https://kenticointernal.github.io/cloud-custom-element-samples/color-picker.html
- API diagnostics element: https://kenticointernal.github.io/cloud-custom-element-samples/api-diag.html
- Create html page and place your code there
- Check the apiUrl query string and fetch the custom-element.js or fallback to localhost (see existing examples)
- Update the elements list in this readme :)