Dreamweaver CS6 keyboard shortcut

Hello Experts,

In Dreamweaver cs6 when you select a text and you press the keyboard command+b (on a mac) it wraps the text with a strong (<strong>) tag. I wounder if its possible to have a similar for li (<li>) tag as i am using it quite a lot.

Thanks for your help!
RefaelAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
Jason C. LevineConnect With a Mentor No oneCommented:
You would have to do it as a code snippet.  Create a snippet that wraps the selection with <li></li> and then add a keyboard shortcut for it from Edit | Keyboard Shortcuts
0
 
RefaelAuthor Commented:
Hi jason1178, thank you.
I am new to Mac... can you tell me where do i create a code snippet?
0
 
RefaelAuthor Commented:
I have found it. I followed the Dreamweaver tutorial on how to create a new code snippet and set a keyboard shortcut to it.

Is it possible to set it so it will take each line and warp an <li> tag? So for example I have something like this:

text text text text text text
text text text text text text
text text text text text text
text text text text text text

It would be great if I can simply highlight all this block and then warp each line with an <li> tag with a single keyboard shortcut to get this.

<li>text text text text text text</li>
<li>text text text text text text</li>
<li>text text text text text text</li>
<li>text text text text text text</li>

I have long lists i am working with almost each day :-)

Thanks for any help on this!
0
Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
Jason C. LevineNo oneCommented:
I don't think that's possible with code snippets.
0
 
RefaelAuthor Commented:
Than i have tried :-) Thank you!
0
 
RefaelAuthor Commented:
Thank you jason1178 :-)
0
 
Jason C. LevineNo oneCommented:
You're welcome.  For long lists, it's probably easier to select the list and sacrifice the extra second to use the unordered lists item on he Property bar to assign li to all items at once.
0
 
cokefourCommented:
Go to Edit > Keyboard Shortcuts look for Insert > Structure > List Item and create your own shortcut. Make sure it is not already used for something else.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.