Feature request: edit toolbar buttons for multiple levels ol and ul

74 views
Skip to first unread message

David Gifford

unread,
Oct 30, 2018, 7:28:45 PM10/30/18
to TiddlyWiki
Hi all

One thing that is frustrating for me is that if I transfer a ul or ol from a word processor or other document to TiddlyWiki, I have to hand add asterisks * (or hash tags #) for anything beyond the first level

That is, I can select all and click the bulleting or numbering button, which converts it to a one level list. But to show indentation of subpoints I need to add asterisks or hash tags by hand, one by one.

One would think that those buttons, if applied to a selection that already has asterisks, would add more asterisks, regardless of what is at the beginning of the selected lines. But alas, nothing happens.

If there could be a way to select multiple list items that are already asterisked and apply asterisks to just those lines, that would be fantastic. Is this possible?

Dave

Mark S.

unread,
Oct 30, 2018, 8:19:12 PM10/30/18
to TiddlyWiki
Until someone comes along with something more clever (probably 15 minutes), you could add your own buttons for additional bullet levels.

Find

$:/core/ui/EditorToolbar/list-bullet

and clone it.

Change the name of the clone to

$:/core/ui/EditorToolbar/list-bullet

Change

count="1"

in the text to

count="2"

Change the description field contents to:

Bullets 2

Repeat for each new button and bullet level that you want. The buttons will appear at the end of the existing set in the edit toolbar. You can tell them apart by hovering over them. You could make a new SVG for each one, perhaps in a different color if you wanted them to be more obvious.

-- Mark

David Gifford

unread,
Oct 30, 2018, 10:33:43 PM10/30/18
to tiddl...@googlegroups.com
Thanks Mark!

David Gifford
Mexico team leader, Mexico City

Resonate Global Mission
Engaging People. Embracing Christ.
A Ministry of the Christian Reformed Church
resonateglobalmission.org



--
You received this message because you are subscribed to a topic in the Google Groups "TiddlyWiki" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/tiddlywiki/Pwf79UFbFEI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to tiddlywiki+...@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/e227b8e1-cb22-46c5-a695-ad7a26dbcca4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

David Gifford

unread,
Nov 4, 2018, 11:26:31 AM11/4/18
to TiddlyWiki
Sorry to take so long to respond to this. I just cloned that edit bullet button to create three levels of indented bullets, and while I need to take time to clone and modify the icons for the buttons, it is going to work well for me. Great fix.

Blessings and thanks again.
Reply all
Reply to author
Forward
0 new messages