PHPackages                             weave-php/blocknote-filament - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. weave-php/blocknote-filament

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

weave-php/blocknote-filament
============================

Weave BlockNote rich-text editor as a Filament form field for Laravel.

0.0.2(3mo ago)11416↑1376.9%2MITPHPPHP ^8.3

Since Mar 26Pushed 3mo agoCompare

[ Source](https://github.com/weave-php/weave-blocknote-filament)[ Packagist](https://packagist.org/packages/weave-php/blocknote-filament)[ RSS](/packages/weave-php-blocknote-filament/feed)WikiDiscussions develop Synced 3w ago

READMEChangelog (2)Dependencies (8)Versions (3)Used By (0)

Filament BlockNote (Weave)
==========================

[](#filament-blocknote-weave)

[![Latest Version on Packagist](https://camo.githubusercontent.com/a692c866d389a3fceadad3f44d79bc99fb4a4a593763193c930fa51376271479/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f77656176652d7068702f626c6f636b6e6f74652d66696c616d656e743f6c6162656c3d4c617465737425323056657273696f6e)](https://packagist.org/packages/weave-php/blocknote-filament)[![Total Downloads](https://camo.githubusercontent.com/affb44957e0f36c316386038eb7bde7a431304ab94f4b4a6f2b549228f4d5a7c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f77656176652d7068702f626c6f636b6e6f74652d66696c616d656e74)](https://packagist.org/packages/weave-php/blocknote-filament)[![License](https://camo.githubusercontent.com/fb3b3d4ce0c27020d4c717b16359bc96868192ccee07ac82146e0daa71c5e784/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f77656176652d7068702f626c6f636b6e6f74652d66696c616d656e74)](https://packagist.org/packages/weave-php/blocknote-filament)

[![BlockNote × Filament](docs/plugin-thumbnail.png)](docs/plugin-thumbnail.png)

This package embeds the [BlockNote](https://www.blocknotejs.org/) rich-text editor in Filament forms, using a bundled **React** UI (BlockNote + Mantine), and persists document state as a **JSON string** of BlockNote blocks.

**Composer package:** `weave-php/blocknote-filament` · **PHP namespace:** `Weave\BlockNote\...` (unchanged on purpose so imports stay stable).

Requirements
------------

[](#requirements)

- PHP `^8.3`
- Laravel **11+** (as required by your Filament version)
- Filament `^3.0 || ^4.0 || ^5.0` (via `filament/filament`)

Installation
------------

[](#installation)

```
composer require weave-php/blocknote-filament
```

Laravel auto-discovers `Weave\BlockNote\BlockNoteServiceProvider`.

Register the plugin on any panel (optional but recommended for consistency with Filament’s plugin API):

```
use Filament\Panel;
use Weave\BlockNote\Filament\BlockNotePlugin;

public function panel(Panel $panel): Panel
{
    return $panel
        ->default()
        ->id('admin')
        ->path('admin')
        ->plugin(BlockNotePlugin::make());
}
```

Assets are registered globally by the service provider; the plugin is mainly an explicit hook for panel configuration.

[![Filament plugin list — thumbnail (16:9)](docs/plugin-list-thumbnail.jpg)](docs/plugin-list-thumbnail.jpg)

### Publish Filament assets

[](#publish-filament-assets)

After install or upgrade, publish JS/CSS to `public/`:

```
php artisan filament:assets
```

Files are published under `public/js/weave-php/blocknote-filament/` and `public/css/weave-php/blocknote-filament/`.

The editor loads **Inter** from Filament’s font bundle (`public/fonts/filament/filament/inter/`). Run `filament:assets` or `filament:install` so that path exists.

Configuration
-------------

[](#configuration)

Publish the config file if you want to customize uploads and the upload route:

```
php artisan vendor:publish --tag=weave-blocknote-config
```

**Default configuration:**

```
