承接 letyii/yii2-tinymce 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

letyii/yii2-tinymce

最新稳定版本:1.0

Composer 安装命令:

composer require letyii/yii2-tinymce

包简介

TinyMce for yii2 textarea

README 文档

README

Renders a TinyMCE WYSIWYG text editor plugin widget.

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require "letyii/yii2-tinymce" "*"

or add

"letyii/yii2-tinymce": "*"

to the require section of your application's composer.json file.

Usage Example

$model = Article::findOne(1);
echo $form->field($model, 'content')->widget(letyii\tinymce\Tinymce::className(), [
    'options' => [
        'class' => 'your_class',
    ],
    'configs' => [ // Read more: http://www.tinymce.com/wiki.php/Configuration
        'link_list' => [
            [
                'title' => 'My page 1',
                'value' => 'http://www.tinymce.com',
            ],
            [
                'title' => 'My page 2',
                'value' => 'http://www.tinymce.com',
            ],
        ],
    ],
]);

统计信息

  • 总下载量: 39.72k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 9
  • 点击次数: 1
  • 依赖项目数: 2
  • 推荐数: 0

GitHub 信息

  • Stars: 8
  • Watchers: 6
  • Forks: 2
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2014-05-16