Skip to content

Editor Mode & DiscriminatorVM

The note editor shows the current DiscriminatorVM use case in the example portfolio: one editor surface, multiple active modes.

Current Scenario Use

All four flagship flavors use DiscriminatorVM to switch the note form between edit and preview modes while keeping the surrounding workflow stable.

Why It Matters

  • mode changes are explicit VM state rather than ad hoc view flags
  • command enablement and derived labels stay attached to the VM layer
  • the host adapter only binds current mode and visible child surface

Where To Verify