Main Area and Open Discussion > Living Room
Improved list button in forum post form
(1/1)
mouser:
after cutting my teeth on some javascript this afternoon to obfuscate emails/donation links to protection them from email spam harvester bots, i decided to improve the listbotton in the forum post editor.
now if you type a long list of lines, you can simply select them, and hit the list button (its the one that looks like a bunch of bullet point, far bottom right), and a list will be made from them with each one bulleted.
e.g. type this:
--- ---item1
item2
item3
item4
item5
item6
item7
then select those lines 1-7
and hit the list/bulleting button to get this:
--- ---[list]
[li]item1[/li]
[li]item2[/li]
[li]item3[/li]
[li]item4[/li]
[li]item5[/li]
[li]item6[/li]
[li]item7[/li]
[/list]
which looks like this when posted:
* item1
* item2
* item3
* item4
* item5
* item6
* item7
clif_notes:
* I like it.
* I like it.
* I like it.
* I like it.
* I like it.
* I like it.
* I like it.
*
Carol Haynes:
Wow - you are a true star ... I hope you are going to submit that 'fix' to SMF 'cos they really need that ...
Navigation
[0] Message Index
Go to full version