π Html Editor β User Guide & Instructions
Html Editor is a lightweight, responsive Progressive Web App (PWA) designed for real-time HTML, CSS, and JavaScript development, live previewing, and DOM inspection.
π οΈ Key Features
Dual-Pane Live Workspace: Side-by-side view with a CodeMirror editor on the left and a live rendering sandbox browser on the right.
Auto-Sync & Format: Real-time rendering as you type with built-in code formatting.
Responsive Viewport Controls: Switch between Desktop, Tablet, and Mobile preview dimensions instantly.
Visual DOM Inspector: Click any element inside the live preview window to visually select it, edit its text, adjust Tailwind/CSS classes, or change colours dynamically.
Preset Template Library: Built-in design templates (Hero, Glass Card, Analytics Widget, Pricing Tier) for rapid prototyping.
Progressive Web App (PWA): Designed for installation on desktop and mobile devices with offline capabilities.
π How to Use Html Editor
1. Writing and Editing Code
Editor Pane: Type or paste HTML, inline CSS, or JavaScript in the source code editor on the left pane.
Auto-Sync: Your changes will automatically render in the preview window on the right with a ~300ms debounce delay.
Format Code: Click the Magic Wand icon (β¨) in the top right of the editor titlebar to tidy and format your HTML indentation.
Adjust Workspace Split: Click and drag the thin vertical separator bar between the editor and preview panes to adjust their relative widths.
2. Live Preview & Device Viewports
Reload Preview: Click the Rotate/Refresh icon inside the simulated browser address bar ([https://preview.local/index.html](https://preview.local/index.html)) to manually reload the iframe sandbox.
Device Viewports: Use the viewport toolbar at the top to test responsive layouts:
π₯οΈ Desktop: 800px width frame
π± Tablet: 600px width frame
π± Mobile: 380px width frame
3. Using Preset Templates
Select a preset from the dropdown menu in the top navigation bar to quickly load structured code:
Landing Hero: A modern hero section with gradient text and badge styling.
Glass Card: A glassmorphism profile card with blur and gradient background accents.
Analytics Widget: A dark-themed analytics card with multi-colored progress bars.
Pricing Tier: A featured pricing component with highlighted badge styling.
4. Visually Inspecting and Editing Elements (DOM Inspector)
Click the Inspect & Edit DOM button (π―) in the top right header.
An orange banner will appear above the preview frame confirming Inspector Mode is active.
Click any element in the live preview window (e.g., a heading, button, or paragraph).
The Element Inspector Sidebar will slide out on the right, displaying:
Selected Tag: Displays the active HTML tag (e.g., <h1>, <button>).
Inner Text Content: Edit the text directly in the sidebar field to update the live preview instantly.
Tailwind / CSS Classes: Modify or add Tailwind CSS utility classes (e.g., change text-emerald-400 to text-blue-500).
Text Colour: Use the native colour picker input to apply custom inline text colors.
All visual changes made in the inspector are automatically synced back into the source editor.
Click Exit Inspector or the β button on the sidebar to return to standard mode.
5. Installing as a PWA
To install Html Editor on your device:
Chrome / Edge: Click the install icon in the address bar or select Install Html Editor from the browser menu.
Safari (iOS / macOS): Tap Share β Add to Home Screen.
βΉοΈ App Information
Name: Html Editor
PWA Manifest: [https://htmleditor.mediawest.cloud/manifest.json](https://htmleditor.mediawest.cloud/manifest.json)
Copyright: Β© 2026 Arthur Paternoster. All rights reserved.