Markdown OKF-Schema Studio

Behaviour SwRS-MDOKFSTUDIO-BLOCK-270

Every final save of a block or cell editor ends

When a writer finishes a block or cell editor, the page and the host SHALL end every final save with a closed editor or an error that gives the typed text back, and never leave the editor on its saving state.

Another outcome at step 2 of path 1 in StRS-MDOKFSTUDIO-BLOCK-006, in the state “The typed text is in the document”.

Scenarios 3

The situations the tests check; open one to read it.

nominalA final save ends in a closed editor
Givena block or cell editor whose final save is posted
Whenthe host answers, whether the text was written, unchanged, or no render follows
Thenthe editor closes, or its detached save ends with done, and no editor stays on the saving status
refusalA failed final save gives the text back
Givena final save the host refuses, cannot write, finds changed in the document or meets a change of the file
Whenthe answer arrives
Thenit carries the writer's text, and the page shows it in the open editor or in a reopened one with the reason, or the host offers it to copy
boundaryEvery save path ends
InputOutcome
A frontmatter save whose plan changes no textThe host answers unchanged and the field editor closes
Cancel or Escape in a block or cell editor during its final saveThe editor closes and the save ends with an answer
A page that cannot reopen the editorThe host releases the edit and offers the text to copy

Implemented in 2

Tested by 3