Skip to content

Commit

Permalink
Merge pull request #9 from CelestialSystem/2702-updateReadme
Browse files Browse the repository at this point in the history
update readme for cake2 (2.9.7)
  • Loading branch information
kapil2704 authored Apr 21, 2020
2 parents 7b91fb6 + 316a317 commit 54e5b88
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ $this->Html->css('/yourapp/Froala/css/froala_editor.min.css');
$this->Html->script('/yourapp/Froala/js/froala_editor.min.js', array('toolbarInline' => false));
```

If you need to load the plugins, then use:
If you need to load the plugins, Include in the file `FroalaHelper.php`:

```php
$this->Html->script(
Expand All @@ -70,7 +70,7 @@ $this->Html->script(
'/Froala/js/plugins/font_size.min.js',
'/Froala/js/plugins/fullscreen.min.js',
'/Froala/js/plugins/help.min.js',
'/Froala/js/plugins/image.min.js',
'/Froala/js/plugins/image.min.js',
'/Froala/js/plugins/image_manager.min.js',
'/Froala/js/plugins/inline_style.min.js',
'/Froala/js/plugins/line_breaker.min.js',
Expand All @@ -86,6 +86,10 @@ $this->Html->script(
'/Froala/js/plugins/table.min.js',
'/Froala/js/plugins/url.min.js',
'/Froala/js/plugins/video.min.js'),
'/Froala/js/third_party/spell_checker.min.js',
'/Froala/js/third_party/embedly.min.js',
'/Froala/js/third_party/image_tui.min.js',
'/Froala/js/third_party/font_awesome.min.js',

array('toolbarInline' => false)
);
Expand All @@ -109,7 +113,12 @@ $this->Html->css(
'/Froala/css/plugins/quick_insert.min.css',
'/Froala/css/plugins/special_characters.min.css',
'/Froala/css/plugins/table.min.css',
'/Froala/css/plugins/video.min.css'
'/Froala/css/plugins/video.min.css',
'/Froala/css/third_party/spell_checker.min.css',
'/Froala/css/third_party/embedly.min.css',
'/Froala/css/third_party/image_tui.min.css',
'/Froala/css/third_party/font_awesome.min.css',
'https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css'
)
);
```
Expand Down

0 comments on commit 54e5b88

Please sign in to comment.