Repository navigation
A JavaScript API in the style of Livewire and Alpine, and a page on how the package works with Filament.
Added
FilamentCollaboration.adapter(name, definition)registers an adapter, the wayAlpine.data()registers a component.window.FilamentCollaborationis defined in the panel's<head>before any script, so an adapter's script no longer needs to wait for the package: an adapter registered early is queued and registered when the package starts.adapter()returnsFilamentCollaboration, so calls chain.- How it works with Filament, a new documentation page: how the browser script works with Filament's fields and Livewire, why the package has its own merge engine instead of Yjs, and which parts would work without Filament.
Changed
- The package's global is now
window.FilamentCollaboration, likeLivewireandAlpine.window.filamentCollaboration,registerAdapter()and thefilament-collaboration:initevent still work, so existing adapters need no change. - The demo's TinyMCE, CKEditor, Quill, Trix and custom component adapters, the guide, the custom component tutorial and the Laravel Boost skill use
FilamentCollaboration.adapter().
Fixed
- Diagrams on the documentation website are drawn as pictures, in light and dark, instead of showing their Mermaid code.