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?
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?
you can use width like below.
$('.editor').summernote({
width: 150, //don't use px
});
For me it helped to wrap editor with another div with style
<div style="width: 80%;">
© 2022 - 2024 — McMap. All rights reserved.