2017 © Pedro Peláez
 

package yii2-wysibb

Implements WysiBB to your Yii2 application

image

kalyabin/yii2-wysibb

Implements WysiBB to your Yii2 application

  • Friday, October 2, 2015
  • by mkalyabin
  • Repository
  • 2 Watchers
  • 0 Stars
  • 352 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 1 Versions
  • 3 % Grown

The README.md

yii2-wysibb

Implements WysiBB visual editor http://www.wysibb.com/ to your Yii2 application. More about WysiBB read at http://www.wysibb.com/, (*1)

Install via composer

Run in your console:, (*2)

php composer.phar global require "fxp/composer-asset-plugin:1.0.0"
php composer.phar require "kalyabin/yii2-wysibb" "dev-master"

Basic usage

/* @var $this \yii\web\View */
/* @var $model \yii\base\Model */
$form = \yii\widgets\ActiveForm::begin();
print $form->field($model, 'content')->widget(\kalyabin\wysibb\WysiBBWidget::className(), [
...
]);
\yii\widgets\ActiveForm::end();

Language support

By default widget uses application language, but you may use other languages:, (*3)

/* @var $this \yii\web\View */
/* @var $model \yii\base\Model */
$form = \yii\widgets\ActiveForm::begin();
print $form->field($model, 'content')->widget(\kalyabin\wysibb\WysiBBWidget::className(), [
    'language' => 'fr',
    ...
]);
\yii\widgets\ActiveForm::end();

More about language support see: https://github.com/wbb/WysiBB#language, (*4)

The Versions

02/10 2015

dev-master

9999999-dev

Implements WysiBB to your Yii2 application

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

  • bower-asset/jqjquery-wysibb *

framework yii2 wysiwig wysibb