Markdown OKF-Schema Studio

Area

Block editing

Edit mode, block editors, keyboard, undo, insert points, move, selection, clipboard

8 use cases · 52 behaviours · 78.79% linked to code and tests

Use cases

Each stop is a use case; open one to see how it is split into behaviours.

  1. StRS-MDOKFSTUDIO-BLOCK-001A writer switches edit mode and finds it as leftI turn edit mode on to change my document in the preview and off to read it again, without losing anything I typed, and I reopen a document to find the preview in the edit mode I last chose, never offered editing in a preview that cannot change the file.5 behaviours
  2. StRS-MDOKFSTUDIO-BLOCK-003A writer edits the raw Markdown of a block in a framed editorI click a paragraph, heading, list, admonition, code block or image in the preview and edit its Markdown right there, see exactly which lines of the file I am editing, how to finish and how to abandon, and never change an included file by accident.11 behaviours
  3. StRS-MDOKFSTUDIO-BLOCK-006Typed text is saved, survives updates and is never lost on leavingI never lose the text I typed in the preview, saved to my Markdown file as I type; I keep it or drop it with one clear action; and I leave the block, the file or the window with my last words saved first.14 behaviours
  4. StRS-MDOKFSTUDIO-BLOCK-008A writer types and moves between blocks with text editor keysI type Markdown in the block editor and the keys do what I expect: lists continue, Tab indents, selected text gets wrapped, Home and End jump, undo stays in the editor, and I keep writing in the next or previous block by pressing an arrow key at the edge of the text, without the mouse.8 behaviours
  5. StRS-MDOKFSTUDIO-BLOCK-011A writer adds blocks and starts an empty document from the previewI add a paragraph, a list or a heading between two blocks, or after the last one, and I open an empty file, or a file with only metadata, and start writing from the preview, without opening the text editor.10 behaviours
  6. StRS-MDOKFSTUDIO-BLOCK-014A writer reorders blocks with arrows, keys and selectionsI swap a block or a selected run of blocks with its neighbour with one click on an arrow or one key press, also while I edit the block, keep typing at the same place, and can undo it with one undo.9 behaviours
  7. StRS-MDOKFSTUDIO-BLOCK-016A writer selects blocks and copies, cuts and pastes them as MarkdownI select a run of blocks with Shift+click or Shift+Arrow to treat them as one, and I copy, cut and paste whole blocks as their exact Markdown while the document stays tidy: no double blank lines, no glued blocks.9 behaviours
  8. StRS-MDOKFSTUDIO-BLOCK-025Preview edits land exactly, in one undo step, keep line endings, or are refused with a reasonI trust that every change I make from the preview lands on the lines I meant, reverts with one undo and keeps the line endings of my document, or is refused with a reason, never landing on the wrong text; I am told why when an edit, move or paste cannot be done, and my document and clipboard are left untouched.20 behaviours
  9. StRS-MDOKFSTUDIO-BLOCK-026Diagnose an editor that closed by itselfdeprecated deprecated Markdown file