niceditor Small text editor, based on nicedit from nicedit.com

  1. Requirements
  2. Usage
  3. Resources

While working on an web app, I need a text editor. I was using ckEditor extensions and it was overkill. So here it is, NicEditor with small footprint.

May not be the best and fastest editor but it works for me.

BTW, click on Thumb-Up right above if you find it useful please

Requirements

More information, configuration and copyrights of the NicEdit script is at http://nicedit.com

I have included the NicEdit script and icons in assets folder for your convenience

This extensions is created with Yii 1.1.7

It works for Yii 1.1.7 - 1.1.10.

For other Yii versions, I don't know

Usage

unpack the niceditor.zip file to your extensions folder

Copy and paste the text below to you "views" page

$this->widget('ext.niceditor.nicEditorWidget',array(
	"model"=>$model,                // Data-Model
	"attribute"=>$attribute,        // Attribute in the Data-Model
	"defaultValue"=>'defaultValue text here',
	"config"=>array("maxHeight"=>"200px"),
	"width"=>"400px",		// Optional default to 100%
	"height"=>"200px",		// Optional default to 150px
));

Resources

More information at http://nicedit.com

15 0
8 followers
1 487 downloads
Yii Version: 1.1
License: LGPL-3.0
Category: User Interface
Developed by: viethung
Created on: Jul 21, 2011
Last updated: 12 years ago

Downloads

show all