25/04
2014
Wallogit.com
2017 © Pedro Peláez
use composer, and add the following line to your composer under "require", (*1)
"jleach/laravelmce": "dev-master"
add to config/app.php, (*2)
'Jleach\Laravelmce\LaravelmceServiceProvider',
run in the command line, (*3)
php artisan asset:publish
then add this line to your head section in your blade.php view., (*4)
{{ HTML::script('packages/jleach/laravelmce/js/tinymce/tinymce.min.js') }}
<script>
tinymce.init({
selector: "textarea"
});
</script>
and in the body:, (*5)
<form method="post"> <textarea></textarea> </form>