dev-master
9999999-dev https://github.com/iJackUA/yii2-epiceditor-widgetYii2 widget for EpicEditor - An Embeddable JavaScript Markdown Editor
MIT
The Requires
extension yii widget editor markdown epiceditor
Yii2 widget for EpicEditor - An Embeddable JavaScript Markdown Editor
Yii2 widget for EpicEditor - An Embeddable JavaScript Markdown Editor, (*1)
on http://epiceditor.com, (*2)
add to require
section of your composer.json
"ijackua/yii2-epiceditor-widget": "dev-master"
and run composer update, (*3)
use ijackua\epiceditor\Epiceditor; Epiceditor::widget([ 'model' => $model, 'attribute' => 'text', 'options' => ['focusOnLoad' => true], 'divHtmlOptions' => ['class' => 'epiceditordiv'] ])
use ijackua\epiceditor\Epiceditor; Epiceditor::widget([ 'name' => 'epiceditor', 'value' => '# Hello world', 'options' => ['focusOnLoad' => true], 'divHtmlOptions' => ['class' => 'epiceditordiv'] ])
see on official EpicEditor site, (*4)
see on official Marked site, (*5)
Yii2 widget for EpicEditor - An Embeddable JavaScript Markdown Editor
MIT
extension yii widget editor markdown epiceditor