2017 © Pedro Peláez
 

yii2-widget aceeditor

ace editor widget for yii2

image

kak/aceeditor

ace editor widget for yii2

  • Friday, June 9, 2017
  • by sanchezzzhak
  • Repository
  • 1 Watchers
  • 0 Stars
  • 42 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 14 % Grown

The README.md

AceEditor widgets

AceEditor widgets for Yii2, (*1)

Preview

Installation

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

Either run, (*3)

php composer.phar require --prefer-dist kak/aceeditor "dev-master"

or add, (*4)

"kak/aceeditor": "dev-master"

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

Usage

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

<?php
    echo yii\helpers\Html::activeLabel($model,'html_wrap');  
    echo \kak\widgets\aceeditor\AceEditor::widget([
        // You can either use it for model attribute
        'model' => $model,
        'attribute' => 'html_wrap',
        'mode'=>'html', // programing language mode. Default "html"
        'theme'=>'github' // editor theme. Default "github"
    ]);
?>

The Versions

09/06 2017

dev-master

9999999-dev https://github.com/sanchezzzhak/kak-aceeditor

ace editor widget for yii2

  Sources   Download

MIT

The Requires

 

by Tutik Alexsandr

yii2 widget aceeditor aceeditor for yii2