2017 © Pedro Peláez
 

yii2-extension yii2-epiceditor-widget

Yii2 widget for EpicEditor - An Embeddable JavaScript Markdown Editor

image

ijackua/yii2-epiceditor-widget

Yii2 widget for EpicEditor - An Embeddable JavaScript Markdown Editor

  • Thursday, April 3, 2014
  • by iJackUA
  • Repository
  • 1 Watchers
  • 3 Stars
  • 59 Installations
  • JavaScript
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

yii2-epiceditor-widget

Yii2 widget for EpicEditor - An Embeddable JavaScript Markdown Editor, (*1)

Demo

on http://epiceditor.com, (*2)

Installation via Composer

add to require section of your composer.json "ijackua/yii2-epiceditor-widget": "dev-master" and run composer update, (*3)

Usage example

Active widget

use ijackua\epiceditor\Epiceditor;

Epiceditor::widget([
        'model' => $model,
        'attribute' => 'text',
        'options' => ['focusOnLoad' => true],
        'divHtmlOptions' => ['class' => 'epiceditordiv']
    ])

Simple widget

use ijackua\epiceditor\Epiceditor;

Epiceditor::widget([
        'name' => 'epiceditor',
        'value' => '# Hello world',
        'options' => ['focusOnLoad' => true],
        'divHtmlOptions' => ['class' => 'epiceditordiv']
    ])

Available EpicEditor options

see on official EpicEditor site, (*4)

Available Marked options (markdown parser used by EpicEditor)

see on official Marked site, (*5)

The Versions

03/04 2014

dev-master

9999999-dev https://github.com/iJackUA/yii2-epiceditor-widget

Yii2 widget for EpicEditor - An Embeddable JavaScript Markdown Editor

  Sources   Download

MIT

The Requires

 

extension yii widget editor markdown epiceditor