php - 在 laravel 5.7 的服务器端无法检索 UniSharp/laravel-ckeditor 字段值
问题描述
我正在使用https://artisansweb.net/install-use-ckeditor-laravel/安装指南以 laravel 形式设置 unisharp/ckeditor。我遵循了此处提到的所有步骤,但我无法在我的 php-laravel 代码中获取 ckeditor 的值。
这是我的代码,
在 config/app/js 中的提供者数组中的条目,
Unisharp\Ckeditor\ServiceProvider::class,
html文件中的条目,
<body>
@include('inc.navbar')
<div class="container starter-template">
@include('inc.message')
@yield('content')
</div>
<script src="{{ asset('vendor/unisharp/laravel-ckeditor/ckeditor.js') }}"></script>
<script>
CKEDITOR.replace( 'summary-ckeditor' );
</script>
</body>
html文件中的条目以在表单中添加ckeditor,
<div class='form-group'>
{{Form::label('body', 'Body')}}
{{Form::text('body', '', ['id' => 'summary-ckeditor', 'class'=>'form-control', 'placeholder' => 'Enter Body'])}}
</div>
我的作曲家作品,
"require": {
"php": "^7.1.3",
"fideloper/proxy": "^4.0",
"laravel/framework": "5.7.*",
"laravel/tinker": "^1.0",
"laravelcollective/html": "5.7.*",
"unisharp/laravel-ckeditor": "^4.7"
},
让我知道我错过了什么。
解决方案
推荐阅读
- mongodb - 我收到此错误:错误 [ERR_HTTP_HEADERS_SENT]:将标头发送到客户端后无法设置标头
- javascript - React 无法正确处理计数器
- python - 使用 np.where 过滤行的问题
- google-text-to-speech - Invoke-WebRequest :远程服务器返回错误:(403) Forbidden
- c - 递归搜索具有特定扩展名的文件...C语言
- spring-boot - Spring Boot + Websocket + Stomp 在服务器空闲时抛出异常
- python - 配置缩放轴的距离
- r - 为数据集定义病例对照研究设计
- java - 使用 dagger2 超时异常改造拦截器
- google-app-engine - 在 Google Apps Script 中的 Web App 的基本 URL 之后使用 path/slug