2017 © Pedro Peláez
 

yii2-extension yii2-tinymce

TinyMCE widget for Yii PHP framework 2.0

image

maybeworks/yii2-tinymce

TinyMCE widget for Yii PHP framework 2.0

  • Wednesday, June 17, 2015
  • by B@RT
  • Repository
  • 1 Watchers
  • 4 Stars
  • 270 Installations
  • JavaScript
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

yii2-tinymce

TinyMCE WYSIWYG text editor plugin widget for Yii PHP framework 2.0, (*1)

Features:

  • TinyMCE always the latest version, because loaded from the bower-asset/tinymce
  • Automatically download the language file based on the current localization settings Yii
  • Simple addition of their plug-ins and skins
  • Correct client validation
  • Other facilities

Installation

The preferred way to install this extension is through composer., (*2)

Either run, (*3)

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

or add, (*4)

"maybeworks/yii2-tinymce" : "*"

to the require section of your application's composer.json file., (*5)

Usage

Basic usage, (*6)

use maybeworks\tinymce\TinyMceWidget;

= $form->field($model, 'text')->widget(TinyMceWidget::className());?>

Editor config, (*7)

use maybeworks\tinymce\TinyMceWidget;

= $form->field($model, 'text')->widget(
    TinyMceWidget::className(),
    clientOptions' => [
        'plugins' => [
            "code fullscreen",
            "media table contextmenu paste"
        ],
        'toolbar' => "undo redo | styleselect | bold italic | link image"
    ]
    );?>

Information

Documentation: TinyMCE plugin site, (*8)

MaybeWorks
Nothing is impossible, limit exists only in the minds of...
maybe.works, (*9)

The Versions

17/06 2015

dev-master

9999999-dev

TinyMCE widget for Yii PHP framework 2.0

  Sources   Download

BSD-3-Clause

The Requires

 

extension yii widget tinymce wysiwyg