-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathNodeType.php
More file actions
45 lines (34 loc) · 910 Bytes
/
NodeType.php
File metadata and controls
45 lines (34 loc) · 910 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<?php
declare(strict_types=1);
namespace Contentstack\Utils\Enum;
use MabeEnum\Enum;
class NodeType extends Enum
{
const DOCUMENT = 'doc';
const PARAGRAPH = 'p';
const LINK = 'a';
const IMAGE = 'img';
const EMBED = 'embed';
const HEADING_1 = 'h1';
const HEADING_2 = 'h2';
const HEADING_3 = 'h3';
const HEADING_4 = 'h4';
const HEADING_5 = 'h5';
const HEADING_6 = 'h6';
const ORDER_LIST = 'ol';
const UNORDER_LIST = 'ul';
const LIST_ITEM = 'li';
const FRAGMENT = 'fragment';
const HR = 'hr';
const TABLE = 'table';
const TABLE_HEADER = 'thead';
const TABLE_BODY = 'tbody';
const TABLE_FOOTER = 'tfoot';
const TABLE_ROW = 'tr';
const TABLE_HEAD = 'th';
const TABLE_DATA = 'td';
const BLOCK_QUOTE = 'blockquote';
const CODE = 'code';
const TEXT = 'text';
const REFERENCE = 'reference';
}