加入Quill富文本编辑器
This commit is contained in:
parent
71a7a39faf
commit
ce0a12c3de
17
assets/QuillAsset.php
Normal file
17
assets/QuillAsset.php
Normal 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',
|
||||
];
|
||||
}
|
Loading…
Reference in New Issue
Block a user