You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Form field for javaabu/forms, @javaabu/forms and stencil #8
Blade: <x-block-editor::editor name="body" :model="$post" /> extends forms v2's Input (model binding, old input, label, help, errors, inline). It passes errors on blocks to the editor and requires the editor, the stylesheet and the profile's block scripts through manifest.
React: BlockEditorField for @javaabu/forms (useField, useFieldValue, the form's errors).
Stencil: Javaabu\BlockEditor\Stencil\BlockEditorField::make('body')->profile()->required()->maxBlocks() (Blade view + the block-editor React type via StencilBlockEditor).
Limitation: @javaabu/forms doesn't export useFieldState / splitFieldProps / usePublishField, so the React field keeps its own state. It works with <Form> and plain posts. With Inertia useForm(), bind it with value/onChange (documented). Requested in Javaabu/react-forms#23. It isn't blocking.
Activity
TipTap editor core, Blade entry and React renderer
Blade components, stencil field and manifest assets
n4ff4h commentedon Nov 5, 2026
Done on
main.<x-block-editor::editor name="body" :model="$post" />extends forms v2'sInput(model binding, old input, label, help, errors, inline). It passes errors on blocks to the editor and requires the editor, the stylesheet and the profile's block scripts through manifest.BlockEditorFieldfor @javaabu/forms (useField,useFieldValue, the form's errors).Javaabu\BlockEditor\Stencil\BlockEditorField::make('body')->profile()->required()->maxBlocks()(Blade view + theblock-editorReact type viaStencilBlockEditor).Limitation: @javaabu/forms doesn't export
useFieldState/splitFieldProps/usePublishField, so the React field keeps its own state. It works with<Form>and plain posts. With InertiauseForm(), bind it withvalue/onChange(documented). Requested in Javaabu/react-forms#23. It isn't blocking.