yii2-epiceditor-widget Yii2 widget for EpicEditor - An Embeddable JavaScript Markdown Editor

  1. Links
  2. Demo
  3. Installation via Composer
  4. Usage example
  5. Available EpicEditor options
  6. Available Marked options (markdown parser used by EpicEditor)

Yii2 widget for EpicEditor - An Embeddable JavaScript Markdown Editor

Links

Demo

on http://epiceditor.com

Installation via Composer

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

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

Available Marked options (markdown parser used by EpicEditor)

see on official Marked site

0 0
2 followers
0 downloads
Yii Version: Unknown
License: MIT
Category: User Interface
Developed by: iJackUA
Created on: Mar 31, 2014
Last updated: 10 years ago

Related Extensions