y284663247
- y284663247 2021-10-25 已签到连续签到1天,获得了5个金钱
- y284663247 回复了 蛋蛋的蛋 的回复
我也遇到这个问题,这里改的只是
css/site.css'
还有一个不知道是在哪里改的
你这个依赖于 yii\bootstrap\BootstrapAsset,所以会先引入yii\bootstrap\BootstrapAsset里面的css与js,在引入你自己的site.css,你ctrl+yii\bootstrap\BootstrapAsset能点过去,一看就知道了
提交内容不能为空,我后台判断内容了,这个要怎么处理
`
<?= $form->field($textform, 'content')->widget('pjkui\kindeditor\KindEditor', ['id' => 'editor_id', 'clientOptions' => [ 'allowFileManager' => 'true', 'allowUpload' => 'true', 'items' => [ 'source', '|', 'formatblock', 'fontsize', '|', 'forecolor', 'bold', 'italic', 'underline', 'strikethrough', 'removeformat', '|', 'image', 'table', 'justifyleft', 'justifycenter', 'justifyright', 'justifyfull', 'insertorderedlist', 'insertunorderedlist', 'indent', 'outdent', 'subscript', 'superscript', 'clearhtml', 'anchor', 'link', 'unlink', '|', 'fullscreen', 'about' ] ] ]); ?> `
设置完了之后,图片文件什么的样式变化了啊?
- y284663247 提出了问题form-group
- y284663247 回复了话题 yii2的demo不能登陆
那个只是个数据库,你创建一下后,能跑通,数据是写的User.php里面的一个数组
这个要assets里面的AppAset.php里面控制的