Skip to content

Qixing/Kohana-CKEditor

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kohana-CKEditor

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)); ?> ```

About

integration module of CKEditor for Kohana 3.3

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published