Thread: Insert Tags
View Single Post
Old 11-09-2017, 09:41 AM   #11
phossler
Wizard
phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.
 
Posts: 1,087
Karma: 447222
Join Date: Jan 2009
Location: Valley Forge, PA, USA
Device: Kindle Paperwhite
Quote:
Originally Posted by kovidgoyal View Post
If what you really want are keyboard shorcuts, you can create snippets instead, which will let you do what insert tag does and also not need to remember shortcuts, since you can instead type a descriptive (short) word instead.
Actually I tried Snippets first. I've only used them for the basics (like inserting boilerplate text, etc.), but always a good time to learn

I could not get them to work to bracket selected text; the 'trigger' seemed to replace the selection, and then the expanded snippet was empty (of course, it always could have been my snippet definition)

If I select text ("anyone") what I wanted to end with was

<span class="example">anyone</span>


just like selecting "anyone", clicking [B] and ending with

<b>anyone</b>
Attached Thumbnails
Click image for larger version

Name:	Capture.JPG
Views:	162
Size:	99.9 KB
ID:	159927  
phossler is offline   Reply With Quote