mr4-lax/tiny-mce
最新稳定版本:0.0.1
Composer 安装命令:
composer require mr4-lax/tiny-mce
包简介
Laravel admin form TinyMCE
README 文档
README
This is a laravel-admin extension that integrates TinyMCE 6 into the laravel-admin form.
Screenshot
Installation
composer require mr4-lax/tiny-mce php artisan vendor:publish --tag=mr4-lax-tinymce --force
Configuration
In the extensions section of the config/admin.php file, add some configuration that belongs to this extension.
'extensions' => [ 'mr4lax' => [ // If the value is set to false, this extension will be disabled 'enable' => true, 'tinymce' => [ 'editor' => [ 'plugins' => 'table lists link image media wordcount', 'toolbar' => 'undo redo | formatselect| bold italic underline strikethrough forecolor backcolor | alignleft aligncenter alignright alignjustify | indent outdent | bullist numlist | code | table | image media link', ], 'editor' => [ 'upload' => 'mr4.lax.tinymce.upload', 'store' => 'public/mr4lax/tinymce', ], ], ], ],
The configuration of plugins and toolbar of the editor can be found in TinyMCE Document
Usage
Use it in the form:
$form->tinymce('content') ->rows(5) ->attribute([ 'menubar' => 'true', 'statusbar' => 'true', ]);
License
Licensed under The MIT License (MIT).
统计信息
- 总下载量: 16
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-07-21