承接 sandritsch91/yii2-froala-editor 相关项目开发

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

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

sandritsch91/yii2-froala-editor

最新稳定版本:1.1.2

Composer 安装命令:

composer require sandritsch91/yii2-froala-editor

包简介

Yii2 Froala Editor widget extended from froala/yii2-froala-editor

README 文档

README

Extension for froala/yii2-froala-editor

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist sandritsch91/yii2-froala-editor

or add

"sandritsch91/yii2-froala-editor": "*"

to the require section of your composer.json

Default configuration

This widget extends the original FroalaEditor Widget. This had to be done to be able to configure the FroalaEditor in the Yii2 way. I also added a few default options, you can overwrite them in the configuration of the application, or in the configuration of the widget.

Product key

You can set the product key in the (local) configuration of the application:

'container' => [
    'definitions' => [
        'sandritsch91\yii2\froala\FroalaEditor' => [
            'defaultClientOptions' => [
                'key' => 'YOUR_PRODUCT_KEY',
            ]
        ]
    ]
]

Plugins

The original FroalaEditor adds the plugins dynamically, which makes it impossible to configure them in the Yii2 way. They are all loaded by default, but you can disable them in the configuration of the widget:

<?= FroalaEditor::widget([
    'clientPlugins' => [
        ...
    ],
    'excludedPlugins' => [
        ...
    ],
]); ?>

统计信息

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

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: JavaScript

其他信息

  • 授权协议: BSD-3-Clause
  • 更新时间: 2023-09-05