jeudi 31 décembre 2015

Html tags showing after ckeditor

Im using ckeditor CDN in my laravel project.I've got the editor to show up on the text area but after I submit the form,texts from the textarea displays along with html tags. Am i missing anything?

<head>
   <link rel="stylesheet" href="http://ift.tt/1RrshYi">
         <script src="//cdn.ckeditor.com/4.5.6/standard/ckeditor.js"></script>
    <title>project title </title>
  </head>

Form view:

<div class="form-goup">
{!!Form::label('details','details')!!}
{!!Form::textarea('details',null,['class'=>'form-control'])!!}

<script>
        ckeditor.replace( 'details' );
    </script>

show view:

{{$pages->details}}

output: output



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire