Skip to content

DocumentBuilderBlock

Individual content block component.

Overview

DocumentBuilderBlock renders a single content block on the document builder canvas. Block types include text, images, floor plans, specs, and AI-generated before/after comparisons.

Block Types

TypeContentDescription
textRich textFormatted text content
imageImageProject images or uploads
image_compareBefore/afterAI-generated comparison
floor_planFloor planFloor plan snapshot
specSpec referenceSpecification details
materialMaterialMaterial/texture reference

Features

  • Type-specific rendering
  • Selection highlighting
  • Resize handles
  • Move/reposition via drag
  • Delete action
  • Edit mode (double-click for text)

Source

app/components/document-builder/DocumentBuilderBlock.vue

Built with VitePress