Skip to content

Commit 2a66d66

Browse files
authored
Update README.md
1 parent 6ef931e commit 2a66d66

File tree

1 file changed

+13
-11
lines changed

1 file changed

+13
-11
lines changed

README.md

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -9,19 +9,19 @@ composer require laravel-admin-ext/css-editor
99
php artisan vendor:publish --tag=laravel-admin-code-mirror
1010
```
1111

12-
## 配置
12+
## Configuration
1313

14-
`config/admin.php`文件的`extensions`,加上属于这个扩展的一些配置
14+
In `extensions` section of file `config/admin.php`,add following configurations
1515
```php
1616

1717
'extensions' => [
1818

1919
'css-editor' => [
2020

21-
// 如果要关掉这个扩展,设置为false
21+
// set to false if you want to disable this exteions
2222
'enable' => true,
2323

24-
// 编辑器的配置
24+
// editor configuration
2525
'config' => [
2626

2727
]
@@ -30,11 +30,11 @@ php artisan vendor:publish --tag=laravel-admin-code-mirror
3030

3131
```
3232

33-
更多配置可以到[CodeMirror文档](https://codemirror.net/)找到
33+
The configuration of the editor can be found in [CodeMirror Documents](https://codemirror.net/)
3434

35-
## 使用
35+
## Usage
3636

37-
在form表单中使用它:
37+
Use it in form
3838
```php
3939
$form->css('code');
4040

@@ -44,17 +44,19 @@ $form->less('code');
4444

4545
```
4646

47-
设置高度
47+
Set height
4848
```php
4949
$form->css('code')->height(500);
5050
```
5151

52-
## 支持
52+
## Donate
5353

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

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

5860
License
5961
------------
60-
Licensed under [The MIT License (MIT)](LICENSE).
62+
Licensed under [The MIT License (MIT)](LICENSE).

0 commit comments

Comments
 (0)