sfagnum/kohana-ckeditor

Integration module of WYSIWYG CKEditor to Kohana framework.

Installs: 13

Dependents: 0

Suggesters: 0

Security: 0

Stars: 10

Watchers: 5

Forks: 7

Open Issues: 2

Type:kohana-module

pkg:composer/sfagnum/kohana-ckeditor

dev-master 2013-11-29 21:42 UTC

This package is not auto-updated.

Last update: 2025-12-30 07:56:44 UTC


README

integration module of CKEditor for Kohana 3.3

Example

In you controller:

class Controller_Abstract extends Controller_Template
{
    public $template = 'layouts/main';

    function before()
    {
        parent::before();
		$this->template->editor = '';
    }
    function after()
    {
    	$this->template->editor = Ckeditor::instance();

    	parent::after();
    }

In you 'layouts/main.php' file add: ```html <title>Cool site</title> editor('name', 'Lorem ipsum...', array('width' => 400)); ?> ```