Must-have: Send this to AI first
It gives AI the context of what Direct Edit can do and what you need from it. Send it before your concrete task (or together with it and your HTML).
I will use the Direct Edit editor (directedit.dev) on my static HTML website. Before I give you a concrete task, follow these rules:
What Direct Edit can do:
- Works on a static website made of HTML, CSS and JS – not on a CMS or server-side framework (e.g. WordPress, Shopify).
- Editing happens directly on the page by clicking. The editor reads and saves straight into the HTML files; it uses no database.
- Editable automatically, without any special attributes: text, links, images, icons (Font Awesome / Bootstrap) and background images.
- Only two things need special HTML: duplicable blocks and videos (I will describe them below when I need them).
What NOT to do:
- Do not add any data-* attributes to elements for the editor; it is not necessary. They work on their own and unnecessary attributes only clutter the site.
- Do not touch the folder where the editor itself runs.