HTML Format

by Wade Walker for brackets >=1.8.0 
An extension containing menubar and keyboard shortcuts for inserting HTML tags. Currently the list of available HTML tags for inserting through the menubar or a keyboard shortcut mimics the current Dreamweaver options. A preference window is available to change the default keyboard shortcuts.
version
0.4.0
modified
2017-01-17T01:39:40.294Z
first seen
2014-11-07T14:36:53.682Z
downloads
104517
 Versions
0.4.0
2017-01-17T01:39:40.294Z
18619
0.3.9
2017-01-11T19:30:28.828Z
2606
0.3.8
2016-09-13T19:36:51.786Z
22730
0.3.7
2016-09-12T13:18:38.931Z
1002
0.3.6
2016-09-11T23:18:00.379Z
464
0.3.5
2016-09-09T01:06:13.394Z
1586
0.3.4
2016-04-17T12:54:55.556Z
17356
0.3.3
2016-04-16T02:13:08.459Z
842
0.3.2
2016-03-26T21:17:11.749Z
5528
0.3.1
2015-12-07T19:42:11.475Z
9562
0.2.8
2015-07-10T00:51:47.671Z
7048
0.2.7
2015-06-30T20:30:43.130Z
2890
0.2.6
2015-06-25T17:19:11.850Z
1487
0.2.5
2015-06-19T00:41:58.090Z
2141
0.2.4
2015-06-18T23:37:58.042Z
154
0.2.3
2015-06-18T23:31:09.786Z
8
0.2.2
2015-06-18T20:05:19.486Z
175
0.2.1
2015-06-18T18:18:23.976Z
168
0.2.0
2015-06-12T18:58:08.783Z
1352
0.1.3
2014-12-02T14:26:14.895Z
6428
0.1.2
2014-11-07T14:36:53.682Z
2371
 Readme
brackets-htmlformat ================== Brackets extension adding HTML Format commands to menu bar and common keyboard shortcuts. The main purpose behind this extension was to add common hotkeys to insert Bold and Italic tags around highlighted copy in HTML documents. My coworkers started talking about Brackets and that I should use it. I gave it a shot, but the lack of common HTML hotkeys caused me to look into making an extension for adding in something that I use everyday. ================== ###Update - June 12, 2015 Added preference menu option to be able to set keyboard shortcuts for any of the HTML tags/styles or change the default keyboard shortcuts. The issues with the add blank tag feature should be fixed. It is still, for me, a bit of a complicated thing to have figured out how to do so there may be issues present still or it may not be the best possible implementation of such a feature. ================== ###Update - June 18, 2015 Currently working on fixes for the preference menu when displayed using different themes other than the default light theme. Fixed the Control key being listed twice for Mac OS in preferences. Fixed checking either Bold/Strong or Italic/Emphasis checkboxes triggering the duplicate keyboard shorcut warning. ================== ###Update - July 9, 2015 All issues that I have seen in the dev tools window of Brackets should be fixed. Because of this, the latest version of Brackets is required to ensure that it will work. Added a feature that if the cursor is within an inline style and a tag or style is inserted, it will be automatically converted/added into the inline style attribute. If it was a tag that doesn't have a style equivalent, it is ignored and nothing will be added. ================== ###Update - July 26, 2015 Bug fixes and added bold, italic, and underline tags to the right-click menu. This feature must be enabled in the preferences and deselects the Brackets default selection of 1 to 2 characters at the cursor location when the right-click action occured. ================== ###Update - November 22, 2015 Bug fixes and more tags added to the format menu ================== ###Update - March 26, 2016 Preferences will trigger a Brackets reload with extensions when saving changes. ================== ###Update - April 15, 2016 Add anchor tag to list of elements. Fix bug that only older HTML tag/style items from drop down menu could have keyboard shortcuts saved. ================== ###Update - April 17, 2016 More bug fixes related to preferences and going against my disdain for anonymous functions, I have changed the CommandManager.register() method to take an anonymous function calling _addTag() and _addSpanStyle(), passing the appropriate argument to make it function the same as before, but without dozens of functions doing the same thing. ================== ###Update - September 8, 2016 Requested feature to have H1–H6 and paragraph tags added to the drop-down menu has been granted and added. Removing $.on() events with $.off() to be proper. When adding a tag around highlighted copy that already features that same tag on the outsides of the text selection, remove that outer tag if it is a tag that should not surround itself, i.e. two anchor tags. ================== ###Update - September 11, 2016 Trying to fix bugs with the shortcut/hotkey assignment with numbers. ================== ###Update - September 12, 2016 Added a quick fix for older versions of Brackets after I made changes to get rid of a deprecation warning. This will probably be the last version update for older versions of Brackets. ================== ###Update - September 13, 2016 Bug fixes ================== ###Update - January 11, 2017 Adding in HTML5 tag "main", per user request. Requiring latest version of Brackets by having proper implementation of "Mustache". Removing HTML Format menu from the Menu bar when there are no files open. ================== ###Update - January 16, 2017 Fixed issue with the menu bar items not being in the correct order on Windows 10 after ~17 items were added. After ~17 items, the order would be in reverse from order added and all dividers would be at the bottom.