Skip to content

Commit a4b3df4

Browse files
author
Firedrake969
authored
Merge pull request #245 from Airhogs777/more-attrs
Add More Block Attributes
2 parents 3a57b15 + 45e1868 commit a4b3df4

1 file changed

Lines changed: 12 additions & 2 deletions

File tree

resources/js/files.js

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,11 +55,21 @@ function arrContainsFromArr(arr1, arr2) {
5555
var fileData = {};
5656
var currentFile = 'index.html';
5757

58-
var attrNames = ['src', 'class', 'id', 'href', 'rel']; //add attrs
58+
var attrNames = [
59+
'class',
60+
'for',
61+
'form',
62+
'href',
63+
'id',
64+
'rel',
65+
'src',
66+
'style',
67+
'type'
68+
]; //add attrs
5969
var cssAttrNames = [
6070
'background-color',
6171
'height',
62-
'width',
72+
'width'
6373
]; //add attrs
6474

6575
// All you have to do to do it right is be lazy -- liam

0 commit comments

Comments
 (0)