FilamentF
Filament9mo ago
Batman

Markdown Toolbar Buttons

Are these all the available toolbar buttons for the markdown component, or just the default applied? Hoping for H2 and H3 heading tags.

>"You may set the toolbar buttons for the editor using the toolbarButtons() method. The options shown here are the defaults:"

MarkdownEditor::make('content')
    ->toolbarButtons([
        'attachFiles',
        'blockquote',
        'bold',
        'bulletList',
        'codeBlock',
        'heading',
        'italic',
        'link',
        'orderedList',
        'redo',
        'strike',
        'table',
        'undo',
    ])
Was this page helpful?