Skip to content

Commit

Permalink
docs(font-awesome): add font awesome compatibility into documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Raiper34 committed Jan 10, 2023
1 parent 14af406 commit f868e08
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@
Ngx Simple Text editor or ST editor is a simple native text editor component for Angular 9+.

## Version compatibility
| Angular version | Ngx simple text editor version |
|-----------------|--------------------------------|
| 9 - 13 | 0.0.0 - 1.x.x |
| 14 | 2.x.x |
| Angular version | Ngx simple text editor version | Font awesome version |
|-----------------|--------------------------------|----------------------|
| 9 - 13 | 0.0.0 - 1.x.x | 5.0.0-6.x.x |
| 14 | 2.x.x | 5.0.0-6.x.x |

# Instalation

Expand All @@ -34,8 +34,8 @@ import {NgxSimpleTextEditorModule} from 'ngx-simple-text-editor';
// ...
})
```
If you want to use default button icons, you must install Font awesome v5.
`npm install @fortawesome/fontawesome-free@5` and declare in styles in angular.json
If you want to use default button icons, you must install Font awesome.
`npm install @fortawesome/fontawesome-free` and declare in styles in angular.json
```json
...
"styles": [
Expand Down
2 changes: 1 addition & 1 deletion projects/ngx-simple-text-editor/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"peerDependencies": {
"@angular/common": ">=9.0.0",
"@angular/core": ">=9.0.0",
"@fortawesome/fontawesome-free": "^5.15.4"
"@fortawesome/fontawesome-free": "^6.2.1"
},
"dependencies": {
"tslib": "^2.0.0"
Expand Down
4 changes: 2 additions & 2 deletions src/app/app.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@
<pre class="code-background"><code [highlight]="installationCode1"></code></pre>
</div>
</article>
If you want to use default button icons, you must install Font awesome v5.
<div class="tag is-dark">npm install @fortawesome/fontawesome-free@5</div>
If you want to use default button icons, you must install Font awesome.
<div class="tag is-dark">npm install @fortawesome/fontawesome-free</div>
and declare in styles in angular.json.
<article class="message">
<div class="message-header"><p>angular.json</p></div>
Expand Down

0 comments on commit f868e08

Please sign in to comment.