ejqueryte

This is just extension of jqueryte
3 followers

jQuery TE is a jQuery plugin. It is a lightweight (19.5 KB) and very useful HTML editor. And it works with WYSIWYG model.

jQuery TE works with same performance on the most preferred browsers. And its source of the output is same as 90% on these browsers. Also, it compresses to source of the output automatically. jQuery TE's system runs more practical and more rapidly to other some editors.

This extension is used mainly jquery TE plugin

Requirements

Requirements of using this extension (e.g. Yii 1.1 or above)

Usage

<?php $this->widget('ext.jqueryte.Jqueryte', array(
                'id'=>'contrl',
                'model'=>$model,
                'attribute'=>'attr_name',
                'value'=>$model->attr_name,
                'options'   => [
                    'strike'=> false,
                    'sub'=>false,
                    'source'=>false,
                    'button'=>'SEND',
                    //'format'=>false,
                    'formats'=>[["p","Paragraph"],["h1","My Head 1"]],
                    'fsizes'=>["10", "15", "20"],   
                    'linktypes'=>["Web URL", "E-mail", "Picture"],
                ],
             ));

Try out a demo: http://jqueryte.com/demos

Total 2 comments

#15494 report it
chandran at 2013/11/15 02:22am
Syntax problem

Thanks for sharing correct syntax. But it was working on my application :)

#15490 report it
pravi at 2013/11/14 10:10pm
Not working as it is. I made small changes in usage

Thank you for sharing. The correct usage seems to be:

<?php $this->widget('ext.jqueryte.Jqueryte', array(
                'id'=>'contrl',
                'model'=>$model,
                'attribute'=>'attr_name',
                'value'=>$model->attr_name,
                'options'   => array(
                    'strike'=> false,
                    'sub'=>false,
                    'source'=>false,
                    'button'=>'SEND',
                    //'format'=>false,
                    'formats'=>'[["p","Paragraph"],["h1","My Head 1"]]',
                    'fsizes'=>'["10", "15", "20"]',   
                    'linktypes'=>'["Web URL", "E-mail", "Picture"]',
                ),
             ));
    ?>

Leave a comment

Please to leave your comment.

Create extension
Downloads