Skip to content

Commit f338f4f

Browse files
committed
updating copy
1 parent 76d02f9 commit f338f4f

File tree

1 file changed

+22
-18
lines changed

1 file changed

+22
-18
lines changed

lib/util/getIsTextType.js

Lines changed: 22 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,24 @@
1+
/**
2+
*
3+
* @type {[string,string,string,string,string,string,string]}
4+
*/
15
const textTypes = [
2-
'text',
3-
'span',
4-
'strong',
5-
'a',
6-
's',
7-
'em',
8-
// 'h1',
9-
// 'h2',
10-
// 'h3',
11-
// 'h4',
12-
// 'h5',
13-
// 'h6',
14-
// 'h7',
15-
// 'h8',
16-
// 'h9',
17-
'br',
6+
'text',
7+
'span',
8+
'strong',
9+
'a',
10+
's',
11+
'em',
12+
// 'h1',
13+
// 'h2',
14+
// 'h3',
15+
// 'h4',
16+
// 'h5',
17+
// 'h6',
18+
// 'h7',
19+
// 'h8',
20+
// 'h9',
21+
'br',
1822
];
1923

2024
/**
@@ -23,5 +27,5 @@ const textTypes = [
2327
* @return {boolean}
2428
*/
2529
export default function getIsTextType(type) {
26-
return textTypes.indexOf(type) > -1;
27-
}
30+
return textTypes.indexOf(type) > -1;
31+
}

0 commit comments

Comments
 (0)