craft
craft copied to clipboard
Craft CMS scaffolding package, for internal projects by Statik.be
### Description ### Reason for this change
When the necessary cookies are not set, we should block the video and show a message that the user needs to change the settings in order to see the video...
Suggested format: Name Site - Extra optional meta title content Default format other pages: title page - name website

Check if all plugin examples are still working and up to date. Add some extra comments if needed?
There is something called the HTMLDialogElement (https://developer.mozilla.org/en-US/docs/Web/API/HTMLDialogElement). This is a native implementation of a dialog. It should be well-supported by now by all browsers. The trickiest is safari 15.4 which...
Our toggle (accordion) component is now made with aria in mind and works ok. But there is a native construction for things like this. This should be better to use....
Change the dynamicContentObserver to this. ```js DOMHelper.onDynamicContent( document.documentElement, "select[data-s-autocomplete]", (autocompletes) => { Array.from(autocompletes).forEach((ac: HTMLSelectElement, index) => { if (!ac.hasAttribute("data-s-autocomplete")) return; new Autocomplete(ac, index); }); }, "data-s-autocomplete" ); ```
Mischien ffe hulp vragen van andrew in de craft discord.