Skip to content

Commit e33255b

Browse files
committed
Add icon, title, and config to html fieldtype.
1 parent 36527f7 commit e33255b

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

src/Fieldtypes/Html.php

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,14 @@
66

77
class Html extends Fieldtype
88
{
9-
//
9+
protected static $title = 'HTML';
10+
protected $icon = 'code';
11+
12+
protected $configFields = [
13+
'html' => [
14+
'display' => 'HTML',
15+
'type' => 'code',
16+
'mode' => 'htmlmixed',
17+
],
18+
];
1019
}

0 commit comments

Comments
 (0)