Search code examples
javascriptlaravelsummernote

Summernote loading textarea inside editor


I'm using Summernote.js but when it loads it's opening the textarea inside the editor itself

{!! Form::label('description', 'Body:', ['class' => 'control-label', 'style' => 'padding-top: 10px']) !!}
{!! Form::textarea('description', null, ['class' => 'form-control', 'id' => 'summernote']) !!}

Which gives me this

All suggestions appreciated - this is really bugging me


Solution

  • Two issues may be at hand.

    1. The CSS file is a requirement.
    2. Make sure it is in the correct folder.

    If you are having issues with HTML being printed in Laravel, ensure you're calling in {!! !!} tags, rather than {{ }}.