diff --git a/CHANGELOG.md b/CHANGELOG.md index 0ed1bda..6df9ba2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ All notable changes to `filament-trumbowyg` will be documented in this file. +## 0.2.0 - 2022-11-29 + +- Adds support for placeholder text + ## 0.1.0 - 2022-11-27 - Initial release with default toolbar and theme. diff --git a/resources/views/trumbowyg.blade.php b/resources/views/trumbowyg.blade.php index 13b5719..d594184 100644 --- a/resources/views/trumbowyg.blade.php +++ b/resources/views/trumbowyg.blade.php @@ -18,6 +18,9 @@ diff --git a/src/Trumbowyg.php b/src/Trumbowyg.php index 72228eb..ed3e4bc 100644 --- a/src/Trumbowyg.php +++ b/src/Trumbowyg.php @@ -2,7 +2,11 @@ namespace JKHarley\FilamentTrumbowyg; +use Filament\Forms\Components\Concerns\HasPlaceholder; + class Trumbowyg extends \Filament\Forms\Components\Field { + use HasPlaceholder; + protected string $view = 'filament-trumbowyg::trumbowyg'; }