mirror of
https://github.com/filamentphp/filament.git
synced 2026-09-24 15:42:09 +08:00
26 lines
541 B
PHP
26 lines
541 B
PHP
<?php
|
|
|
|
namespace Filament\Forms\Components;
|
|
|
|
class MarkdownEditor extends Field implements Contracts\HasFileAttachments
|
|
{
|
|
use Concerns\HasFileAttachments;
|
|
use Concerns\HasPlaceholder;
|
|
use Concerns\InteractsWithToolbarButtons;
|
|
|
|
protected string $view = 'forms::components.markdown-editor';
|
|
|
|
protected $toolbarButtons = [
|
|
'attachFiles',
|
|
'bold',
|
|
'bulletList',
|
|
'codeBlock',
|
|
'edit',
|
|
'italic',
|
|
'link',
|
|
'orderedList',
|
|
'preview',
|
|
'strike',
|
|
];
|
|
}
|