加入Quill富文本编辑器

This commit is contained in:
Chenx221 2024-04-17 16:12:34 +08:00
parent 71a7a39faf
commit ce0a12c3de
Signed by: chenx221
GPG Key ID: D7A9EC07024C3021

17
assets/QuillAsset.php Normal file
View File

@ -0,0 +1,17 @@
<?php
namespace app\assets;
use yii\web\AssetBundle;
class QuillAsset extends AssetBundle
{
public $sourcePath = '@npm/quill/dist';
public $js = [
'quill.js',
];
public $css = [
'quill.snow.css',
'quill.bubble.css',
];
}