Skip to content

Commit

Permalink
Modify README syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
itstructure committed Jun 23, 2020
1 parent 30e6195 commit f48a758
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 17 deletions.
32 changes: 15 additions & 17 deletions README.md
@@ -1,8 +1,7 @@
Yii2 CKEditor widget
==============

1 Introduction
----------------------------
## Introduction

[![Latest Stable Version](https://poser.pugx.org/itstructure/yii2-ckeditor/v/stable)](https://packagist.org/packages/itstructure/yii2-ckeditor)
[![Latest Unstable Version](https://poser.pugx.org/itstructure/yii2-ckeditor/v/unstable)](https://packagist.org/packages/itstructure/yii2-ckeditor)
Expand All @@ -14,30 +13,29 @@ Yii2 CKEditor widget
This is a **CKEditor** widget for the Yii2 framework with [CKEditor](http://docs.ckeditor.com/)
template.

2 Dependencies
----------------------------
## Dependencies
- php >= 7.1
- composer

3 Installation
----------------------------
## Installation

Via composer:

```composer require "itstructure/yii2-ckeditor": "^1.1.2"```
`composer require "itstructure/yii2-ckeditor": "~1.1.3"`

or in section **require** of composer.json file set the following:
```

```json
"require": {
"itstructure/yii2-ckeditor": "^1.1.2"
"itstructure/yii2-ckeditor": "~1.1.3"
}
```
and command ```composer install```, if you install yii2 project extensions first,

or command ```composer update```, if all yii2 project extensions are already installed.
and command `composer install`, if you install yii2 project extensions first,

4 Usage
----------------------------
or command `composer update`, if all yii2 project extensions are already installed.

## Usage

Example of using in application with an active model and ckfinder:

Expand Down Expand Up @@ -81,14 +79,14 @@ echo $this->form->field($this->model, $this->getFieldName())
);
```

```preset``` option can be:
`preset` option can be:

- basic
- full
- standard

License
----------------------------
Copyright © 2018 Andrey Girnik girnikandrey@gmail.com.
## License

Copyright © 2018-2020 Andrey Girnik girnikandrey@gmail.com.

Licensed under the [MIT license](http://opensource.org/licenses/MIT). See LICENSE.txt for details.
3 changes: 3 additions & 0 deletions changelog.md
@@ -1,5 +1,8 @@
### CHANGE LOG:

**1.1.3 June 23, 2020:**
- Modify README syntax.

**1.1.2 August 9, 2018:**
- Simple code style fixes.

Expand Down

0 comments on commit f48a758

Please sign in to comment.