Package Data | |
---|---|
Maintainer Username: | doveraudio |
Maintainer Contact: | doveraudio@gmail.com (Jeremy Leach) |
Package Create Date: | 2014-04-25 |
Package Last Update: | 2014-04-25 |
Language: | CSS |
License: | Unknown |
Last Refreshed: | 2024-11-24 15:04:36 |
Package Statistics | |
---|---|
Total Downloads: | 43 |
Monthly Downloads: | 0 |
Daily Downloads: | 0 |
Total Stars: | 1 |
Total Watchers: | 1 |
Total Forks: | 0 |
Total Open Issues: | 0 |
#A simple package to add TinyMCE to a laravel project.
use composer, and add the following line to your composer under "require"
"jleach/laravelmce": "dev-master"
add to config/app.php
'Jleach\Laravelmce\LaravelmceServiceProvider',
run in the command line
php artisan asset:publish
then add this line to your head section in your blade.php view.
{{ HTML::script('packages/jleach/laravelmce/js/tinymce/tinymce.min.js') }}
<script>
tinymce.init({
selector: "textarea"
});
</script>
and in the body:
<form method="post">
<textarea></textarea>
</form>