cleditor CLEditor is an os jQuery plugin which provides a lightweight, cross browser, extensible, WYSIWYG editor.

  1. Notice
  2. Requirements
  3. Usage
  4. Resources

Notice

I won't be able to update this extension for a while. If any contributor want to help me, please send me a inbox message on forum. Thanks.

I already found this extension here but I made one more simple.

Requirements

Yii 1.1 or above.

Usage

en-US
Unpack the contents under the desired folder. For beginners probably it will be '/protected/extensions'.

pt-BR
Descompacte o conteúdo do arquivo na pasta desejada. Para iniciantes provavelmente será 'protected/extensions'.

Simple usage

	$this->widget('application.extensions.cleditor.ECLEditor', array(
		'name'=>'field',
	));

With models

	$this->widget('application.extensions.cleditor.ECLEditor', array(
		'model'=>$model,
		'attribute'=>'fieldName', //Model attribute name. Nome do atributo do modelo.
		'options'=>array(
			'width'=>'600',
			'height'=>250,
			'useCSS'=>true,
		),
		'value'=>$model->fieldName, //If you want pass a value for the widget. I think you will. Se você precisar passar um valor para o gadget. Eu acho irá.
	));

Resources

en-US

pt-BR

35 0
31 followers
7 130 downloads
Yii Version: 1.1
License: GPL-3.0
Category: User Interface
Developed by: thiagovidal
Created on: Nov 10, 2010
Last updated: 5 years ago

Downloads

show all

Related Extensions