定制 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' => [
        ...
    ],
]); ?>

统计信息

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

GitHub 信息

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

其他信息

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

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固