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.
Extract under /protected/extensions/
Tested on Yii 1.1, but should also work on other versions.
$this->widget('application.extensions.editarea.EEditArea', array( 'value'=>'your value', 'htmlOptions'=>array( 'name'=>'your name', 'syntax'=>'php', 'allow_toggle'=>'false' ) ) );
Total 1 comment
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...
Leave a comment
Please login to leave your comment.