承接 mata/mata-imperavi-redactor 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

mata/mata-imperavi-redactor

最新稳定版本:1.0.5

Composer 安装命令:

composer require mata/mata-imperavi-redactor

包简介

Imperavi Redactor WYSIWYG widget (OEM-licensed for Yii 2)

README 文档

README

Created for Tourista

ImperaviRedactorWidget is a wrapper for Imperavi Redactor, a high quality WYSIWYG editor.

Note that Imperavi Redactor itself is a proprietary commercial copyrighted software but since Yii community bought OEM license you can use it for free with Yii.

Using model

yii\imperavi\Widget::widget([
	// You can either use it for model attribute
	'model' => $my_model,
	'attribute' => 'my_field',

	// or just for input field
	'name' => 'my_input_name',

	// Some options, see http://imperavi.com/redactor/docs/
	'options' => [
		'toolbar' => false,
		'css' => 'wym.css',
	],
]);

Alternatively you can attach Redactor to already existing DOM element by calling:

yii\imperavi\Widget::widget([
	// Some options, see http://imperavi.com/redactor/docs/
	'options' => [],
]);

The redactor plugins plugged in with packages of resources.

yii\imperavi\Widget::widget([
	'options' => [
		'lang' => 'ru',
	],
	'plugins' => [
		'fullscreen',
		'clips'
	]
]);

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require asofter/yii2-imperavi-redactor "*"

or add

"asofter/yii2-imperavi-redactor": "*"

to the require section of your composer.json file.

Changelog

1.0.4.1, November 11, 2016

  • Added default buttons in Widget (including 'underline')

1.0.4, August 21, 2015

  • Added matacms plugins: imagematacms (used by default), linkmatacms (used by default), videomatacms, tablematacms

1.0.3, June 29, 2015

  • Updated Widget.php: fixed registering assets for plugins

1.0.2, June 29, 2015

  • Updated paths for asset bundles: TableImperaviRedactorPluginAsset, TextdirectionImperaviRedactorPluginAsset, TextexpanderImperaviRedactorPluginAsset, VideoImperaviRedactorPluginAsset

1.0.1, May 27, 2015

  • Z-index for redactor modal updated

统计信息

  • 总下载量: 2.27k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 2
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 4
  • Forks: 0
  • 开发语言: JavaScript

其他信息

  • 授权协议: BSD-3-Clause
  • 更新时间: 2015-03-16