Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
youchenlee committed Aug 6, 2015
1 parent 2a3c915 commit 39cc137
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,14 @@ CKEditor Package
=====================

## Installation

### Set up package

in `composer.json` file

```
composer require unisharp/laravel-ckeditor
php artisan vendor:publish --tag=ckeditor
```

### Usage
## Usage

Default way (initiate by name or id) :

Expand All @@ -30,5 +27,6 @@ Or if you want to initiate by jQuery selector :
<script src="/vendor/unisharp/laravel-ckeditor/adapters/jquery.js"></script>
<script>
$('textarea').ckeditor();
// $('.textarea').ckeditor(); // if class is prefered.
</script>
```

0 comments on commit 39cc137

Please sign in to comment.