pranabkalita/blade-ckeditor
最新稳定版本:v1.0.0
Composer 安装命令:
composer require pranabkalita/blade-ckeditor
包简介
Ckeditor 5 for Laravel
README 文档
README
This is a Livewire component which allows to add basic CkEditor 5 integration to your Laravel app.
Requirements
- PHP >= 8.2
- Laravel >= 9
- Livewire >= 2
- AlpineJs >= 2
Steps
- Install package:
composer require pranabkalita/blade-ckeditor - Publish Assets:
php artisan vendor:publish --tag=blade-ckeditor - Add the following directives in you layout file
<head> ... @ckeditorStyles </head> <body> ... @alpineJs // Not required for Livewire >= 3 @ckeditorScripts </body>
- In your blade file:
<x-blade-ckeditor wire:model="body" /> - For edit purpose you must provide the initialContent props like below
<x-ckeditor wire:model="body" :initialContent="$body" />
Roadmaps
Since this is new package. No custom options are available yet. Will be working on it and pushing out regular updates with new features.
- Get rid of :initialContent and make it work with
wire:modeiteself. - Use the ability to select the editor version i.e
WYSIWYGorMarkdown.
统计信息
- 总下载量: 50
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-09-20