nekoding / filament-cherry-markdown
filamentphp的Cherry markdown编辑器
v1.2.0
2023-05-04 10:19 UTC
Requires
- php: ^7.4|^8.0
- filament/filament: ^2.17
- spatie/laravel-package-tools: ^1.12
Requires (Dev)
- orchestra/testbench: ^6.0
- phpunit/phpunit: ^9.0
This package is auto-updated.
Last update: 2024-09-04 13:13:12 UTC
README
实现Cherry Markdown编辑器用于Filamentphp。灵感来自https://github.com/spatie/filament-markdown-editor
安装
您可以通过composer安装此包
composer require nekoding/filament-cherry-markdown
用法
use Nekoding\FilamentCherryMarkdown\CherryMarkdown; public static function form(Form $form): Form { return $form ->schema([ // other fields ... CherryMarkdown::make('detail') ->fileAttachmentsDisk('public') ->fileAttachmentsVisibility('public') ->required(), ]); }
截图
测试
composer test
贡献
请参阅CONTRIBUTING以获取详细信息。
安全
如果您发现任何与安全相关的问题,请通过电子邮件enggartivandi@outlook.com联系,而不是使用问题跟踪器。
致谢
许可证
MIT许可证(MIT)。有关更多信息,请参阅许可证文件。
Laravel包模板
此包是用Laravel包模板生成的。
贡献者 ✨
感谢这些优秀的人(emoji key)
此项目遵循all-contributors规范。欢迎任何形式的贡献!