Support the ongoing development of Laravel.io →
posted 9 years ago
Packages
Last updated 2 years ago.
0

From the documentation

// Replace the <textarea id="editor1"> with a CKEditor
// instance, using default configuration.
CKEDITOR.replace( 'editor1' );
0

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 :(((

Last updated 9 years ago.
0

try changing 'desc1' to the id of the textarea:

CKEDITOR.replace( 'editor' );
0

Sign in to participate in this thread!

Eventy

Your banner here too?

masoudline masoudline Joined 21 Feb 2015

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.