2017 © Pedro Peláez
 

yii2-extension yii2-lepture-editor

Editor is not a WYSIWYG editor, it is a plain text markdown editor. Thanks for the great project codemirror, without which editor can never be created.

image

dungphanxuan/yii2-lepture-editor

Editor is not a WYSIWYG editor, it is a plain text markdown editor. Thanks for the great project codemirror, without which editor can never be created.

  • JavaScript
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Installation

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

Either run, (*2)

php composer.phar require --prefer-dist dungphanxuan/yii2-lepture-editor "*"

or add, (*3)

"dungphanxuan/yii2-lepture-editor": "dev-master"

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

Usage

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

<?php echo dungphanxuan\leptureeditor\LeptureEditorWidget::widget([
    'name' => 'content',
    'options'=>[// html attributes
        'id'=>'content'
    ],
    'leptureOptions' => [
                        'toolbar' => false
                    ]
]);; ?>

or use with a model:, (*6)

<?php echo dungphanxuan\leptureeditor\LeptureEditorWidget::widget([
    'model' => $model,
    'attribute' => 'content',
    'options'=>[// html attributes
        'id'=>'content'
    ],
    'leptureOptions' => [
                        'toolbar' => false
                    ]
]);; ?>

For full details on usage, see the documentation., (*7)

License

MIT. Copyright (c) 2013 - 2014 by Hsiaoming Yang. Extends and develope by dungphanxuan, (*8)

The Versions

30/06 2015

dev-master

9999999-dev

Editor is not a WYSIWYG editor, it is a plain text markdown editor. Thanks for the great project codemirror, without which editor can never be created.

  Sources   Download

MIT

The Requires

 

jquery javascript html text editor markdown wysiwyg jquery-plugin rte rich editor rich text editor lepture

30/06 2015

0.1

0.1.0.0

Editor is not a WYSIWYG editor, it is a plain text markdown editor. Thanks for the great project codemirror, without which editor can never be created.

  Sources   Download

MIT

The Requires

 

jquery javascript html text editor markdown wysiwyg jquery-plugin rte rich editor rich text editor lepture