Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/laravel-admin-extensions/summernote
Summernote extension for laravel-admin
https://github.com/laravel-admin-extensions/summernote
extension laravel-admin summernote
Last synced: about 1 month ago
JSON representation
Summernote extension for laravel-admin
- Host: GitHub
- URL: https://github.com/laravel-admin-extensions/summernote
- Owner: laravel-admin-extensions
- License: mit
- Created: 2018-09-05T05:23:39.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-12-28T07:31:25.000Z (12 months ago)
- Last Synced: 2024-11-02T19:33:53.349Z (about 1 month ago)
- Topics: extension, laravel-admin, summernote
- Language: PHP
- Size: 416 KB
- Stars: 37
- Watchers: 2
- Forks: 23
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-laravel-admin - summernote - Summernote 富文本编辑器 (扩展包 / 字段类扩展包)
README
Summernote editor extension for laravel-admin
======This is a `laravel-admin` extension that integrates `Summernote` into the `laravel-admin` form.
## Screenshot
![wx20180905-132310](https://user-images.githubusercontent.com/1479100/45072743-f1d92b00-b10e-11e8-9a51-9397fa4fb24e.png)
## Installation
```bash
composer require laravel-admin-ext/summernote
```Then
```bash
php artisan vendor:publish --tag=laravel-admin-summernote
```## Configuration
In the `extensions` section of the `config/admin.php` file, add some configuration that belongs to this extension.
```php'extensions' => [
'summernote' => [
//Set to false if you want to disable this extension
'enable' => true,
// Editor configuration
'config' => [
]
]
]```
The configuration of the editor can be found in [Summernote Documentation](https://summernote.org/getting-started/), such as configuration language and height.
```php
'config' => [
'lang' => 'zh-CN',
'height' => 500,
]
```## Usage
Use it in the form:
```php
$form->summernote('content');
```## Donate
> Help keeping the project development going, by donating a little. Thanks in advance.
[![PayPal Me](https://img.shields.io/badge/Donate-PayPal-green.svg)](https://www.paypal.me/zousong)
![-1](https://cloud.githubusercontent.com/assets/1479100/23287423/45c68202-fa78-11e6-8125-3e365101a313.jpg)
License
------------
Licensed under [The MIT License (MIT)](LICENSE).