summernote / summernote

Super simple WYSIWYG editor
https://summernote.org
MIT License
11.58k stars 2.25k forks source link

bar displayed without request it ,on page load #3307

Closed rifaatch closed 5 years ago

rifaatch commented 5 years ago
  1. Operating System: Windows 10
  2. Browser and Version: chrome Version 75.0.3770.100 (Official Build) (64-bit)
  3. Summernote Version: v0.8.12
  4. Bootstrap Version or Lite: Bootstrap 4.3

Hello I am using summernote in my laravel project , all work fine , except in create and edit view there is unnecessary bar () on the top of the page . my code below :

setup :

the html:

<textarea class="form-control summernote" name="special_notes" id="special_notes" placeholder="Enter special notes here..."> {{ old('special_notes', optional($tblProperty)->special_notes) }} the script :

$(document).ready(function() {

    $('.summernote').summernote({

        height:300,

    });

});

bar

rifaatch commented 5 years ago

updated the the summernote.js by editing the line 170 adding the css style : style="display:none !important;" this has fix my problem .

the line became : '',

i followed the comment on the link :https://github.com/summernote/summernote/issues/2516