承接 yii-starter-kit/yii2-aceeditor 相关项目开发

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

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

yii-starter-kit/yii2-aceeditor

最新稳定版本:2.0.0

Composer 安装命令:

composer require yii-starter-kit/yii2-aceeditor

包简介

Yii2 Ace Editor widget

README 文档

README

About

It is Ace Editor integration for Yii2 framework.

Demo

Ace Editor demo can be found here

Installation

The preferred way to install this extension is through composer.

Either run

composer require yii-starter-kit/yii2-aceeditor

or add

"yii-starter-kit/yii2-aceeditor": "^2.0.0"

to the require section of your composer.json file.

Usage

Using model

YiiStarterKit\aceeditor\AceEditor::widget([
	// You can either use it for model attribute
	'model' => $my_model,
	'attribute' => 'my_field',

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

    'mode'=>'html', // programing language mode. Default "html"
    'theme'=>'github', // editor theme. Default "github"
    'readOnly'=>'true' // Read-only mode on/off = true/false. Default "false"
]);

With active field

$form->field($model, 'field')->widget(
        YiiStarterKit\aceeditor\AceEditor::className(),
        [
            'mode'=>'html', // programing language mode. Default "html"
            'theme'=>'github', // editor theme. Default "github"
            'readOnly'=>'true' // Read-only mode on/off = true/false. Default "false"
        ]
    )

Lists of all available modes and themes see here

统计信息

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

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 24
  • 开发语言: PHP

其他信息

  • 授权协议: BSD-3-Clause
  • 更新时间: 2026-03-09