Copy link to clipboard
Copied
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.
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.
Copy link to clipboard
Copied
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
Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
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!
Copy link to clipboard
Copied
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.