From the documentation
// Replace the <textarea id="editor1"> with a CKEditor
// instance, using default configuration.
CKEDITOR.replace( 'editor1' );
it's doesn't working
my code:
<div>
<div>
{{ Form::label('desc', ' description') }}
</div>
<div>
{{ Form::textarea('desc1', null, array('id'=>'editor')) }}
</div>
</div>
<script type="text/javascript">
CKEDITOR.replace( 'desc1' );
</script>
**** Blank white edit screen created in my page !!!
please help me :(((
try changing 'desc1' to the id of the textarea:
CKEDITOR.replace( 'editor' );
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community