Hello Matabelle Yes, It is possible. But my plans for this plugin are going in a different way. I want to add a button for each "common" format. I made some test about it and I think I'm in the good way. But, if anyone prefers just a drop down there is nothing to avoid me to make it configurable.
Regards. El domingo, 22 de junio de 2014 06:35:22 UTC+2, Matabele escribió: > > Hi Danielo > > The new select widget gave me an idea for your keyboard shortcuts plugin. > Would it not be possible to make a new 'Format' button for the edit control > panel in the form of a select widget which applies the chosen formatting to > any selected text? (i.e. a select format drop-down instead-of/as-well-as > keyboard shortcuts) > > regards > > On Saturday, April 19, 2014 11:39:09 AM UTC+2, Danielo Rodríguez wrote: >> >> Hello, >> >> I'm glad to present my third plugin. This corresponds to the next week >> since I will try to deliver just one per week :P >> >> It has some limitations that I expect anyone could help me to eliminate. >> >> Description >> >> This plugin allows you to use keyboard shortcuts for the most common >> wikitext markup. >> Compatibility >> >> This has been tested with tiddlywiki 5.0.8 and 5.0.9. Since I cant' >> guarantee retro-compatibility It should work with consecutive releases. >> How to install >> >> Just drag and drop the link below to your own tiddlywiki file. >> >> KeyboardSnippets >> <http://braintest.tiddlyspot.com/#%24%3A%2Fplugins%2Fdanielo%2FkeyboardSnippets> >> Usage >> >> While on a text field just try some key combinations. If you have *text >> selected* it will be enclosed in the text snipped. >> Key combinations >> >> I already defined the most common shortcuts to wiki syntax. Here is a >> table of what is already available >> Combinationsnippetrenders asctrl+b'' ''*bold*ctrl+i// //*italics*ctrl+u >> __ __*underline*ctrl+s,, ,, subscriptctrl+l*non ordered listctrl+o#ordered >> listctrl+kcodealt+t|| table cellalt+h|!|table headalt+s ~~ ~~strikeout >> Customization >> >> You can add your own key bindings just editing the file : >> >> $:/plugins/danielo/keyboardSnippets/KEYBINDINGS >> <http://braintest.tiddlyspot.com/#%24%3A%2Fplugins%2Fdanielo%2FkeyboardSnippets%2FKEYBINDINGS> >> . >> Adding a new entry >> >> You have to respect the formatting of the file. *The best way* to add a >> new entry is to copy an existing one and edit it. Every entry has to end in >> }, >> >> The format is one or more key modifiers and a single normal letter in >> lower case. >> Key modifiers >> >> The supported modifiers are: ctrl shift alt . *To use more than one >> modifier* you have to do it in that order. Example of valid key >> combinations are: >> >> - ctrl+o >> - shift+o >> - ctrl+shift+o >> - ctrl+shift+alt+o >> >> As invalid combinations you can see >> >> - shift+ctrl+o >> - ctrl+alt+shift+o >> - o+ctrl >> >> Removing customizations >> >> If you mess up with your customizations and you want to restore to >> default just delete the tiddler: >> >> $:/plugins/danielo/keyboardSnippets/KEYBINDINGS >> <http://braintest.tiddlyspot.com/#%24%3A%2Fplugins%2Fdanielo%2FkeyboardSnippets%2FKEYBINDINGS> >> . >> Limitations >> >> - HTML markup is not supported for snippets. >> - Caret ^ is not supported >> >> >> Hope you enjoy it!! >> > -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.