feat: patient view, media player, and rich editor enhancements
This commit is contained in:
@@ -20,6 +20,7 @@
|
||||
use Filament\Forms\Components\CheckboxList;
|
||||
use Filament\Forms\Components\DatePicker;
|
||||
use Filament\Forms\Components\Hidden;
|
||||
use App\Filament\RichEditor\HighlightColorPlugin;
|
||||
use Filament\Forms\Components\RichEditor;
|
||||
use Filament\Forms\Components\Select;
|
||||
use Filament\Resources\Resource;
|
||||
@@ -164,6 +165,13 @@ public static function form(Schema $schema): Schema
|
||||
|
||||
RichEditor::make('content')
|
||||
->label(__('prescriptions.fields.content'))
|
||||
->plugins([HighlightColorPlugin::make()])
|
||||
->toolbarButtons([
|
||||
['bold', 'italic', 'underline', 'strike'],
|
||||
['highlightYellow', 'highlightRed'],
|
||||
['bulletList', 'orderedList'],
|
||||
['undo', 'redo'],
|
||||
])
|
||||
->columnSpanFull(),
|
||||
]),
|
||||
|
||||
@@ -224,6 +232,13 @@ public static function form(Schema $schema): Schema
|
||||
|
||||
RichEditor::make('lab_content')
|
||||
->label(__('prescriptions.fields.lab_content'))
|
||||
->plugins([HighlightColorPlugin::make()])
|
||||
->toolbarButtons([
|
||||
['bold', 'italic', 'underline', 'strike'],
|
||||
['highlightYellow', 'highlightRed'],
|
||||
['bulletList', 'orderedList'],
|
||||
['undo', 'redo'],
|
||||
])
|
||||
->columnSpanFull(),
|
||||
]),
|
||||
])
|
||||
|
||||
Reference in New Issue
Block a user