Site Import (ext-01)
Bring your existing HTML into the Landi Editor. Our import pipeline automatically analyzes structure, sanitizes scripts, and injects data-editable semantics.
Analyze
landi_analyze_site_compatibility
Checks doctype, validates html/head/body structure, measures data-editable coverage, and flags missing data-section-type labels. Detects Tailwind CDN usage and unsafe eval scripts.
Guidance
landi_site_conversion_guidance
Returns specific mutation strategies based on the identified sourceType (e.g., plain-html vs react-export).
Import & Auto-Fix
landi_import_site
Executes a two-phase HITL (Human-in-the-loop) process. Automatically repairs DOM issues via the prepare-html-for-editor sanitizer before committing to VFS.
Compatibility Analysis Report
Valid HTML5 Structure
html/head/body tags present and properly nested.
Tailwind Framework Detected
Tailwind classes found. CDN script injected via autoFix.
Low Semantic Coverage (Warning)
Missing data-section-type attributes on 4 container divs. Will attempt auto-classification.
Unsafe Script Detected
Inline eval() found in <script> block line 142. Script stripped for editor safety.