Skip to content

About

Block WYSIWYG editor powered by TipTap

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

11 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Block Editor

Tests codecov Latest Version on Packagist License: MIT

A block editor for Laravel, built on TipTap. Blocks are PHP classes (attributes, validation, Blade rendering) with optional JS modules, and apps and packages register their own. Content is stored as JSON, validated and sanitized per block, and rendered with Blade or React. Multi-column layouts, phonetic Thaana typing and RTL-aware rendering are built in.

protected function casts(): array
{
    return ['body' => AsBlockDocument::class];
}

$request->validate(['body' => ['required', BlockContent::make()->required()]]);
<x-block-editor::editor name="body" :model="$post" />

<x-block-editor::content :content="$post->body" />
<BlockEditorField name="body" config={editor} />   // @javaabu/block-editor/react
<BlockContent content={post.body} />

Documentation

You'll find the documentation on https://docs.javaabu.com/block-editor, and in the docs folder.

AI coding assistants can start from llms.txt. The package ships a Laravel Boost skill and guideline, which Boost finds by itself. See AI assistants.

Testing

composer test
pnpm test
pnpm examples   # try the editor in a browser

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email info@javaabu.com instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.

About

Block WYSIWYG editor powered by TipTap

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages