Support the ongoing development of →
Installation Views Packages
Last updated 2 years ago.

Use an id rather than class name to reference the textarea (add id="editor" to the textarea).


First, you should probably move your javascript call to just before </body> so it loads after the page..

I wouldn't recommend using an id, because it makes it more difficult to have multiple ckeditors on one page, so I always use just the class.

<textarea class="ckeditor" name="editor"></textarea>

To initialize it, just use:

<script type="text/javascript">
Last updated 8 years ago.

Actually the problem is with the src path in calling ckeditor.js.... after i tried to store ckeditor files in public it worked fine. Thank you @schniper and @bgies


Sign in to participate in this thread!


Your banner here too?

sdt502 sdt502 Joined 13 Aug 2015


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

Your logo here?

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

© 2024 - All rights reserved.