grozzzny/easyii2

Easyii2CMS

安装次数: 349

依赖: 2

建议: 0

安全性: 0

星标: 1

关注者: 3

分支: 0

开放问题: 0

语言:JavaScript

类型:yii2-extension

dev-master 2021-01-21 11:52 UTC

This package is auto-updated.

Last update: 2024-09-21 20:18:05 UTC


README

基于php框架Yii2的控制面板和工具。易于使用的网站CMS。

此仓库是开发包(yii2扩展)。

以下链接中可以找到完整信息

联系方式

请随时通过grozzzny@gmail.com给我发邮件

"autoload": {
    "psr-4": {
        "yii\\easyii2\\": "vendor/grozzzny/easyii2"
    }
}
composer dumpautoload

###Redactor

$form->field($model, 'text')->widget(Redactor::className(),[
    'options' => [
        'minHeight' => 400,
        'imageUpload' => Url::to(['/admin/redactor/upload', 'dir' => 'news']),
        'fileUpload' => Url::to(['/admin/redactor/upload', 'dir' => 'news']),
        'plugins' => [
            "alignment",
            "clips",
            "counter",
            "definedlinks",
            "fontcolor",
            "fontfamily",
            "fontsize",
            "fullscreen",
            "filemanager",
            "imagemanager",
            "inlinestyle",
            "limiter",
            "properties",
            //"source",
            "table",
            //"textdirection",
            "textexpander",
            "video",
            "codemirror",
        ],
        'codemirror:' => [
            'lineNumbers' => true,
            'mode' => 'xml',
            'indentUnit' => 4
        ]
    ]
])