jleach/laravelmce

There is no license information available for the latest version (dev-master) of this package.

Installs: 43

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 1

Forks: 0

Open Issues: 0

Language:CSS

pkg:composer/jleach/laravelmce

dev-master 2014-04-25 12:12 UTC

This package is not auto-updated.

Last update: 2025-12-02 12:10:24 UTC


README

#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>