Skip to content

Commit

Permalink
Merge pull request #32 from ramkannanraj/patch-1
Browse files Browse the repository at this point in the history
Update setup.md ( spell correction )
  • Loading branch information
José Alejandro Alvarez Mendoza committed Mar 17, 2016
2 parents 0c34f92 + a25ecc0 commit 8738a6b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Docs/Documentation/Setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@ $this->Html->script('/TinyMCE/js/tiny_mce/tiny_mce.js', array(
));
```

and placing your own script in the head of the page. Please note that the helper will auto add the TinyMCE editor script to the header of the page. No need to to that by hand if you use the helper.
and placing your own script in the head of the page. Please note that the helper will auto add the TinyMCE editor script to the header of the page. No need to do that by hand if you use the helper.

If your app is not set up to work in the top level of your host / but instead in /yourapp/ the automatic inclusion of the script wont work. You'll manually have to add the js file to your app:

```php
$this->Html->script('/yourapp/TinyMCE/js/tiny_mce/tiny_mce.js', array(
'inline' => false
));
```
```

0 comments on commit 8738a6b

Please sign in to comment.