Fork me on GitHub

Widgets

Getting advanced with widgets

Basic Example Ace Editor in mode html

Implements the amazing high performance ace code editor. For more information about the plugin, please visit Ace editor website.

Write some HTML code :)

<?php $this->widget('yiiwheels.widgets.ace.WhAceEditor',
array(
    'name'=>'aceTest',
    'htmlOptions'=> array('style' => 'width:100%;height:150px')
));?>

The great edtior RedactorJS from imperavi, now free for Yii Development, thanks to the russian community, specially Alex Makarov. You guys ROCK!

<?php $this->widget('yiiwheels.widgets.redactor.WhRedactor', array(
    'name' => 'redactortest'
));?>
    
comments powered by Disqus