editarea syntax highlighting and line numbering for textareas

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

Hey,

My first extension for YII.

Extension made to easy use EditArea script in YII

It's generating textarea field with line numbers, and syntax highlighting (css, php, html, etc.) - very useful in some cases, hope someone will use it.

Fully configurable, all options available in EditArea documentation.

Installation

Extract under /protected/extensions/

Requirements

Tested on Yii 1.1, but should also work on other versions.

Usage

$this->widget('application.extensions.editarea.EEditArea', array(
        'value'=>'your value',
        'htmlOptions'=>array(
                'name'=>'your name',
                'syntax'=>'php',
                'allow_toggle'=>'false'
                )
        )
);

Resources

10 0
6 followers
653 downloads
Yii Version: 1.1
License: LGPL-3.0
Category: User Interface
Developed by: konarski.t
Created on: Feb 26, 2011
Last updated: 13 years ago

Downloads

show all

Related Extensions