Skip to content

packettide/bree-wysiwyg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#Wysiwyg

Wysiwyg is a field package for Bree which provides an advanced fieldset implementation utilizing CKEditor.

##Installation

  1. Install with composer by adding this line to your 'require' block:"packettide/bree-wysiwyg": "@dev"
  2. Run composer update
  3. In Laravel4 add 'Packettide\BreeWysiwyg\BreeWysiwygServiceProvider', to the providers array in app/config/app.php
  4. Publish the package assets: php artisan bree:assets

##Usage

$book = new Bree('Book', array(
		'description'  => array('type' => 'Wysiwyg')
	));

$book->find(1);
echo $book;

For more examples on how to setup fieldtypes for a model refer to the Bree documentation

About

A WYSIWYG field package for Bree

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published