packettide / bree-wysiwyg by bryannielsen

A WYSIWYG field package for Bree
174
1
4
Package Data
Maintainer Username: bryannielsen
Maintainer Contact: bryan@packettide.com (Bryan Nielsen)
Package Create Date: 2013-10-23
Package Last Update: 2014-01-31
Language: JavaScript
License: Unknown
Last Refreshed: 2024-11-23 03:18:49
Package Statistics
Total Downloads: 174
Monthly Downloads: 0
Daily Downloads: 0
Total Stars: 1
Total Watchers: 4
Total Forks: 0
Total Open Issues: 0

#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