A tm-edit-text-operation is supposed to preform an operation on selected text but it doesn't seem to do as the documentation lists.
https://tiddlywiki.com/#WidgetMessage%3A%20tm-edit-text-operationIf selected text is bolded, the '' is added as a prefix and as a suffix. If the same text is already bolded and the operation is run again, the '' is removed. See the rules in $:/core/ui/EditorToolbar/list-bullet.
This doesn't seem to happen for the prefix-lines operation.
For example, select several lines of text and press the unordered list button. A * will be added as a prefix according to the rules in $:/core/ui/EditorToolbar/list-bullet. If the same text is selected and the unordered list button is pressed again, the * is not removed. In fact, nothing happens. The documentation states that the prefix should be removed from the selected lines.
Is this a bug in the code of the current TW?
The problem seems to be in $:/core/modules/editor/operations/text/prefix-lines.js