Skip to content

Commit a1f358b

Browse files
authored
Update readme.md
1 parent 49065da commit a1f358b

File tree

1 file changed

+3
-12
lines changed

1 file changed

+3
-12
lines changed

readme.md

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ A plugin for `tinymce v5` that selects the `fontawesome` icon.
1111
selector: 'textarea',
1212
plugins: 'fontawesomepicker',
1313
toolbar: 'fontawesomepicker',
14-
fontawesomeUrl: 'https://www.unpkg.com/@fortawesome/fontawesome-free@5.14.0/css/all.min.css'
14+
fontawesomeUrl: 'https://www.unpkg.com/@fortawesome/fontawesome-free@5.14.0/css/all.min.css',
15+
fontawesomePro: false, //default: false, enable or disable Pro vs Free font
1516
})
1617
```
1718

@@ -22,24 +23,14 @@ A plugin for `tinymce v5` that selects the `fontawesome` icon.
2223
plugins: 'fontawesomepicker',
2324
toolbar: 'fontawesomepicker',
2425
fontawesomeUrl: 'https://www.unpkg.com/@fortawesome/fontawesome-free@5.14.0/css/all.min.css',
25-
fontawesomePro: true, //default: false, enable or disable Pro vs Free font
26+
fontawesomePro: false, //default: false, enable or disable Pro vs Free font
2627
external_plugins: {
2728
// url
2829
fontawesomepicker: 'https://www.unpkg.com/tinymce-fontawesomepicker/fontawesomepicker/plugin.min.js'
2930
},
3031
})
3132
```
3233

33-
### fontawesome-pro
34-
```js
35-
window.tinymce.init({
36-
selector: 'textarea',
37-
plugins: 'fontawesomepicker',
38-
toolbar: 'fontawesomepicker',
39-
fontawesomeUrl: 'fontawesome-pro/css/all.min.css',
40-
fontawesomePro: true
41-
})
42-
```
4334

4435
# preview
4536
![icons](icons.png)

0 commit comments

Comments
 (0)