我在我的 Laravel 项目中使用 ckeditor CDN。我已经让编辑器显示在文本区域上,但在提交表单后,文本区域中的文本与 html 标签一起显示。我错过了什么吗?
<head>
<link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css">
<script src="//cdn.ckeditor.com/4.5.6/standard/ckeditor.js"></script>
<title>project title </title>
</head>
表单 View :
<div class="form-goup">
{!!Form::label('details','details')!!}
{!!Form::textarea('details',null,['class'=>'form-control'])!!}
<script>
ckeditor.replace( 'details' );
</script>
显示 View :
{{$pages->details}}
输出: output
最佳答案
关于laravel - Html 标签在 ckeditor 之后显示,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34544232/