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'
)
)
);
A little issue
Don't figured out why...
But in the original demo, text highlighted real time...
In this plugin text is highlighted only after enter... or ctrl+v
not sure why...
If you have any questions, please ask in the forum instead.
Signup or Login in order to comment.