editor Text editor integration

  1. Documentation
  2. Change Log

This extension is integrate Tiny_mce and FCKeditor into Yii application.

Documentation

Requirements
  • Yii 1.0 or above
  • Tiny_mce or/and FCKeditor distributive
Installation
  • Extract the release file under protected/extensions

Common properties:

  • type: tinymce/fckeditor, may be set in config/main params as Yii::app()->params('editor')

  • name: required(!!!) field name for textarea

  • heigth (optional)

  • toolbar (optional)

Tinymce properties:

  • language (optional, default: App setting) required additional language download from official site

  • date_format (optional, default Y-m-d)

  • time_format (optional, default H:M:S)

Usage

See the following code example:

echo CHtml::activeTextArea($post,'content',array('rows'=>6, 'cols'=>60));
$this->widget('application.extensions.editor.editor',
                   array('name'=>'post_content', ));
NB

Who can customize the toolbar better - you are welcome.

Change Log

March 23, 2009
  • Bug removed. In the tinymce.php view, line 4 "toolbar" change to "theme".
March 1, 2009
February 9, 2009
  • Initial release.
11 5
8 followers
6 156 downloads
Yii Version: 1.1
License: BSD-2-Clause
Category: User Interface
Tags:
Developed by: FlyBot
Created on: Feb 9, 2009
Last updated: 15 years ago

Downloads

show all