Skip to main content
Participant
March 8, 2023
Answered

How to add keyboard shortcut for Teletype in Dreamweaver 21.3?

  • March 8, 2023
  • 3 replies
  • 543 views

Apologies if I just haven't found the correct submenu yet.

 

I am trying to add a keyboard shortcut of CTL+T to add the <tt></tt> for code editor. 

There does not appear to be an existing menu to do this.

Is there a method to modify DW 21.3 menus to add a custom keyboard shortcut as there was in older DW releases?

 

Thanks.

    This topic has been closed for replies.
    Correct answer Nancy OShea

    Apart from the fact that it's deprecated code and should not be used in modern documents..., you can create custom code Snippets in your Snippets panel and assign a trigger key combination. 

    To quickly insert code Snippets, type trigger keys and hit Tab key.

     

    See Using Snippets

    https://helpx.adobe.com/dreamweaver/using/reuse-code-with-snippets.html

     

    Hope that helps.

     

    3 replies

    BenPleysier
    Community Expert
    Community Expert
    March 8, 2023
    quote

    Is there a method to modify DW 21.3 menus to add a custom keyboard shortcut as there was in older DW releases?

     

    Thanks.


    By @Lon28774050dryf

     

    No!

    Wappler is the DMXzone-made Dreamweaver replacement and includes the best of their powerful extensions, as well as much more!
    Participant
    March 22, 2023

    I suspect it may be possible, with a lot of further investigation of all the various components.

    The one nice thing about Dreamweaver is that you can use it to debug and edit pretty much all of itself as long as you save off your mods somewhere, e.g. git. so they can be restored in the event of a DW upgrade that wipes them out.   

    Unfortunately for now life intervenes and the internal projects for which DW is a vital part take precedence over hacking it up to tune it to my preferences, not those of some possibly just a bit overzealous HTML5 police.

     

    Nancy OShea
    Community Expert
    Nancy OSheaCommunity ExpertCorrect answer
    Community Expert
    March 8, 2023

    Apart from the fact that it's deprecated code and should not be used in modern documents..., you can create custom code Snippets in your Snippets panel and assign a trigger key combination. 

    To quickly insert code Snippets, type trigger keys and hit Tab key.

     

    See Using Snippets

    https://helpx.adobe.com/dreamweaver/using/reuse-code-with-snippets.html

     

    Hope that helps.

     

    Nancy O'Shea— Product User & Community Expert
    Legend
    March 8, 2023

    The tt tag is no longer supported in html5 and whilst some modern browsers may still support it its not advisable to use. You shouldn't be using it if youre developing future websites and applications

    Participant
    March 8, 2023

    HTML5 isn't the issue here.  Haven't found any modern browser that doesn't support the tag, which is quite useful in adding commands and paths inline in sentences as opposed to in blocks. 

     

    The question was if anyone has added a custom keyboard shortcut, what other files, e.g. htm, js, etc to add custom fields to the keyboard shortcut menus.