Skip to content

Commit 8ffafcf

Browse files
committed
update docs
1 parent 8a9b5f1 commit 8ffafcf

File tree

1 file changed

+15
-14
lines changed

1 file changed

+15
-14
lines changed

README.md

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,62 +1,63 @@
11
Summernote editor extension for laravel-admin
22
======
33

4-
这是一个`laravel-admin`扩展,用来将`Summernote`集成进`laravel-admin`的表单中
4+
This is a `laravel-admin` extension that integrates `Summernote` into the `laravel-admin` form.
55

6-
## 截图
6+
## Screenshot
77

88
![wx20180905-132310](https://user-images.githubusercontent.com/1479100/45072743-f1d92b00-b10e-11e8-9a51-9397fa4fb24e.png)
99

10-
## 安装
10+
## Installation
1111

1212
```bash
1313
composer require laravel-admin-ext/summernote
1414
```
1515

16-
然后
16+
Then
1717
```bash
1818
php artisan vendor:publish --tag=laravel-admin-summernote
1919
```
2020

21-
## 配置
21+
## Configuration
2222

23-
`config/admin.php`文件的`extensions`,加上属于这个扩展的一些配置
23+
In the `extensions` section of the `config/admin.php` file, add some configuration that belongs to this extension.
2424
```php
2525

2626
'extensions' => [
2727

2828
'summernote' => [
2929

30-
// 如果要关掉这个扩展,设置为false
30+
//Set to false if you want to disable this extension
3131
'enable' => true,
3232

33-
// 编辑器的配置
33+
// Editor configuration
3434
'config' => [
3535

3636
]
3737
]
3838
]
3939

4040
```
41-
42-
编辑器的配置可以到[Summernote文档](https://summernote.org/getting-started/)找到,比如配置语言和高度
41+
The configuration of the editor can be found in [Summernote Documentation](https://summernote.org/getting-started/), such as configuration language and height.
4342
```php
4443
'config' => [
4544
'lang' => 'zh-CN',
4645
'height' => 500,
4746
]
4847
```
4948

50-
## 使用
49+
## Usage
5150

52-
在form表单中使用它:
51+
Use it in the form:
5352
```php
5453
$form->summernote('content');
5554
```
5655

57-
## 支持
56+
## Donate
57+
58+
> Help keeping the project development going, by donating a little. Thanks in advance.
5859
59-
如果觉得这个项目帮你节约了时间,不妨支持一下;)
60+
[![PayPal Me](https://img.shields.io/badge/Donate-PayPal-green.svg)](https://www.paypal.me/zousong)
6061

6162
![-1](https://cloud.githubusercontent.com/assets/1479100/23287423/45c68202-fa78-11e6-8125-3e365101a313.jpg)
6263

0 commit comments

Comments
 (0)