usr4896260 usr4896260 - 2 months ago 110
Javascript Question

Summernote remove resize bar

I'm using summernote 0.8.2 and I'm trying to remove the resize bar at the bottom of the text editor like the one shown here. I tried options such as the ones listed below. Does anyone know what is the correct way to do this?

$("#summernote").summernote({
toolbar: [
['para', ['ul']]
],
focus: true,
disableResize: true, // Does not work
disableResizeEditor: true, // Does not work either
resize: false // Does not work either
});
$('.note-statusbar').hide() // Does not work either

Answer

It worked when I did the following. Credit to yuri636

$("#summernote").summernote({
    toolbar: [
        ['para', ['ul']]
    ],
    focus: true,
    disableResizeEditor: true
});
$('.note-statusbar').hide();