Behaviour SwRS-MDOKFSTUDIO-PALETTE-124
Collapsible wraps the touched lines in a details element with a summary
When the writer presses Collapsible, the extension SHALL wrap the touched lines, or a sample content, in a details element with a summary, select the summary text and leave a blank line after the summary.
Part of StRS-MDOKFSTUDIO-PALETTE-020, outside the paths drawn on its map.
Scenarios 2
The situations the tests check; open one to read it.
nominalSample
Giventhe caret in a paragraph
WhenCollapsible is pressed
Thena details block with the summary Summary and the content Content is inserted after the paragraph, set apart by blank lines, with Summary selected
boundarySelection
Giventwo selected lines
WhenCollapsible is pressed
Thenthe lines become the content of the details element and Summary is selected