inter-smart/yii2-editor 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

inter-smart/yii2-editor

Composer 安装命令:

composer require inter-smart/yii2-editor

包简介

WYSIWYG editor for Yii2 based on Bootstrap 3

README 文档

README

Yii2 Downloads Packagist Version Progress GitHub license

Yii2 WYSIWYG Editor

WYSIWYG editor for Yii2 based on Bootstrap 3.

This module is an integral part of the Butterfly.SMS content management system, but can also be used as an standalone extension.

Copyrights (c) 2019-2023 W.D.M.Group, Ukraine

Requirements

Installation

To install the widget, run the following command in the console:

$ composer require "wdmg/yii2-editor"

Usage

Example of standalone widget:

<?php

use wdmg\widgets\Editor;
...

echo Editor::widget([
    'model' => $model,
    'attribute' => 'message',
    'options' => [
       ...
    ],
    'pluginOptions' => [
        ...
    ]
    ...
]);

?>

Example of use with ActiveForm:

<?php

use wdmg\widgets\Editor;
...

$form = ActiveForm::begin();
...
echo $form->field($model, 'message')->widget(Editor::class, [
    'options' => [
        ...
    ],
    'pluginOptions' => [
        ...
    ]
    ...
]);
...
ActiveForm::end();

?>

Status and version [ready to use]

  • v.1.2.1 - Update dependencies
  • v.1.2.0 - Update copyrights
  • v.1.1.1 - Update WYSIWYG editor
  • v.1.1.0 - Update README.md
  • v.1.0.10 - Update WYSIWYG editor
  • v.1.0.9 - Fixed widget ID and init after Pjax reloading
  • v.1.0.8 - Update WYSIWYG editor
  • v.1.0.7 - Fixed deprecated class declaration
  • v.1.0.6 - Update Yii2 version

统计信息

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

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-11-01