ayekoto's avatar

Need help on how to use CKEditor in laravel 5 without image upload

below is my script:

    <script type="text/javascript" src="/js/vendor/ckeditor.js"></script>
    <script type="text/javascript">
        CKEDITOR.replace('question', {
            customConfig : 'config.js',
            toolbar : 'simple' 
        });
    </script>

And my textarea

        <div class="form-group">
            <textarea name="question" row="10" cols="80">
            heerer  
            </textarea>     
        </div>              

But the textarea does not display in the broswer at all, cant just figure this out, what am i doing wrong pls? or am i suppose to include the css as well or what?

Thanks

0 likes
1 reply
NicolasVH's avatar

Did you try to with an id? I'm not sure if ckeditor script looks for a name or an id.

Please or to participate in this conversation.