user3759862 user3759862 - 1 year ago 69
Javascript Question

Summernote won't fully load

Hi I'm trying to use summernote but it won't fully load.
i have link all scripts and styles what it need.

<!-- Bootstrap3 core CSS -->
<link href="../css/bootstrap.min.css" rel="stylesheet">

<!-- include libries(jQuery, bootstrap3, fontawesome) -->

<link href="//">
<script src='../js/jquery-1.11.1.min.js'></script>
<script src="../js/bootstrap.min.js"></script>

<!-- include summernote css/js-->

<link href="../css/summernote.css" />
<link href="../css/summernote-bs3.css" />
<script src="../js/summernote.min.js"></script>
<script src="../js/summernote.js"></script>

then i use JS of summernote

$( document ).ready(function() {
$('#summernote').summernote({height: 300});

and there is my html

<textarea id="summernote" cols="30" rows="10" class="form-control"></textarea>

and after that i get this

i have no icons here. But everything works but it looks horrible.
I was trying to found solution and i found if I'm using bootstrap icons, i put them into and summernote use tag. Maybe it is the problem. I don't know.

Answer Source

updated your jsfiddle check it out now

$(document).ready(function() {
    $('#summernote').summernote({height: 300});

works just fine..

The issue was with the js resources.

edit:: this in <head> works fine:

<script src="//" type="text/javascript"></script>
<link href="/css/result-light.css" type="text/css" rel="stylesheet" />
<link href="//" type="text/css" rel="stylesheet" />
<script src="//" type="text/javascript"></script>
<link href="//" type="text/css" rel="stylesheet" />
<script src="" type="text/javascript"></script>
<link href="" type="text/css" rel="stylesheet" />
<link href="" type="text/css" rel="stylesheet">
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download