Hi RunningUtes,
as the person who originally documented this feature, I had
another look at the code and I believe this is a bug, since in
the code it seems to be supposed to work that way, but on line
37 of $:/core/modules/editor/operations/text/prefix-lines.js
,
it seems to end up comparing an integer to a string.
/Andreas
--
You received this message because you are subscribed to the Google Groups "TiddlyWikiDev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywikide...@googlegroups.com.
To post to this group, send email to tiddly...@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywikidev.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywikidev/f7f9961a-1f99-4dd5-8307-470a7f61ca93%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
# Level 1
# Level 2
# Level 2.1
# Level 2.2
# Level 3
Clicking the ordered list button, this currently should REMOVE the outlining. I would like to select the lines Level 2.1 & Level 2.2 and advance the outlining so it now will look like this:
# Level 1
# Level 2
## Level 2.1
## Level 2.2
# Level 3
The reverse would also be useful, allowing selected outline text to be demoted down a level. Possibly icons like >> or << .
This option would likely require two new buttons and each would have to detect the outline type (ordered vs unordered list) above the selected text.
Currently the list buttons only add "* " or "# " to the existing outline, but the formatting is incorrect since it inserts a space between lists ("* * " or "# # ") rather then the correct formatting ("** ""## ").