简体   繁体   中英

UniSharp/laravel-ckeditor not working in laravel 5.7

First run this command in command line. composer require unisharp/laravel-ckeditor

Add in service provider Unisharp\\Ckeditor\\ServiceProvider::class,

run this command php artisan vendor:publish --tag=ckeditor

add this code in my blade file js section

<script src="/vendor/unisharp/laravel-ckeditor/ckeditor.js"></script>
<script>
    CKEDITOR.replace( 'article-ckeditor' );
</script>

there is no error but textarea show normal as like before

尝试使用“资产”方法从供应商文件夹中访问您的 ckeditor.js 脚本尝试这样

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM