Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I customize Summernote text editor width?

Tags:

summernote

Now I am using Summernote text editor. It is so easy and customizable. But I want to customize width. Example:

$("#editor").summernote({
   'width':200px,

});

Above code is not effect. How can I do it?

like image 362
Wai Yan Avatar asked Dec 25 '22 07:12

Wai Yan


1 Answers

you can use width like below.

$('.editor').summernote({
  width: 150,   //don't use px
});
like image 193
ashish.negi Avatar answered May 16 '23 09:05

ashish.negi