2017 © Pedro Peláez
 

extension wgt-tinymce

Widget Tinymce

image

panix/wgt-tinymce

Widget Tinymce

  • Tuesday, December 5, 2017
  • by andrtechno
  • Repository
  • 1 Watchers
  • 0 Stars
  • 27 Installations
  • JavaScript
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

wgt-tinymce

Widget for Yii Framework 2.0 to use TinyMce, (*1)

Latest Stable Version Total Downloads Monthly Downloads Daily Downloads Latest Unstable Version License, (*2)

Installation

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

Either run, (*4)

php composer require --prefer-dist panix/wgt-tinymce "*"

or add, (*5)

"panix/wgt-tinymce": "*"

to the require section of your composer.json file., (*6)

Usage

Once the extension is installed, simply use it in your code by :, (*7)

<?php
        $form->field($model, 'text')->widget(TinyMce::className(), [
            'options' => ['rows' => 6],
            'clientOptions' => [
                'plugins' => [
                    "advlist autolink lists link charmap print preview anchor",
                    "searchreplace visualblocks code fullscreen",
                    "insertdatetime media table contextmenu paste"
                ],
                'toolbar' => "undo redo | styleselect | bold italic | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | link image"
            ]
        ]);
 ?>

The Versions

05/12 2017

dev-master

9999999-dev https://github.com/andrtechno/wgt-tinymce

Widget Tinymce

  Sources   Download

MIT BSD 3-Clause

The Requires

 

extension form widget tinymce corner-cms