PATH:
home
/
letacommog
/
letaweb
/
protected
/
extensions
/
yiibooster
/
userdoc
/
redactorjs
<?php // Basic usage of TbRedactorJs widget $this->widget( 'booster.widgets.TbRedactorJs', [ 'name' => 'fancy_text', 'value' => 'Press Enter in here to test the callback.', 'editorOptions' => [ 'enterCallback' => new CJavaScriptExpression( 'function (event) { console.debug(event); $.notify("I see you have pressed Enter...", "warning"); }' ) ], ] );
[+]
..
[-] example.callbacks_passing.php
[edit]
[-] redactorjs.xml
[edit]
[-] example.with_lang_and_plugins.php
[edit]
[-] example.basic.php
[edit]