From a13546aac2af05acddd2d55fd75b9055d8e7d4e1 Mon Sep 17 00:00:00 2001 From: Joakim Date: Sat, 30 Aug 2025 17:01:25 +0200 Subject: [PATCH] Implement element-level editing with semantic field detection Replace container-based blob editing approach with individual element editing. Each .insertr element now gets appropriate field type (text, textarea, link) based on HTML tag and classes. Provides much better UX with separate inputs for headlines, paragraphs, and buttons while preserving HTML structure and styling. --- demo-site/index.html | 62 ++-- demo-site/insertr/insertr.css | 25 +- demo-site/insertr/insertr.js | 610 ++++++++++++++-------------------- 3 files changed, 288 insertions(+), 409 deletions(-) diff --git a/demo-site/index.html b/demo-site/index.html index 63a3d1f..aafe821 100644 --- a/demo-site/index.html +++ b/demo-site/index.html @@ -11,9 +11,7 @@