Skip to content

Commit

Permalink
Add icon, title, and config to html fieldtype.
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonvarga committed Sep 22, 2020
1 parent 36527f7 commit e33255b
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion src/Fieldtypes/Html.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,14 @@

class Html extends Fieldtype
{
//
protected static $title = 'HTML';
protected $icon = 'code';

protected $configFields = [
'html' => [
'display' => 'HTML',
'type' => 'code',
'mode' => 'htmlmixed',
],
];
}

0 comments on commit e33255b

Please sign in to comment.