improve trace and parsons puzzle item creation
Description
The creation of trace and parsons puzzle items should be simplified.
Proposal
On the left-hand-side should be marker, which indicate where a block starts and ends. The markers should also have a third indicator for setting the end of the header.
All three markers should be draggable with the mouse.
The returned data format could be a list of strings ( start:end_head:end) for example:
[1:1:18, 6:6:9, 7:7:8, 11:11:13]
It should be possible to disallow nested structures for using this editor to create parsons puzzles.
It should be possible to insert a new line. This should increase the range of all parent blocks. For example in a structure like this
[1:1:18, 6:6:9, 7:7:8, 11:11:13]
we insert a new line before line 5 the resulting structure should be like this
[1:1:19, 7:7:10, 8:8:9, 12:12:14]
Feature checklist
Make sure these are completed before closing the issue, with a link to the relevant commit.
-
Implement feature -
Implement unit tests -
Write documentation -
Make pull request