2
Follows code (with disable):
$('#summernote').summernote({
toolbar: false,
height: 100,
callbacks: {
onInit: function() {
$('#summernote').summernote('disable');
$('#summernote').summernote('code', 'kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk');
}
}
});
Follows code (normal) :
$('#summernote1').summernote({
toolbar: false,
height: 100,
callbacks: {
onInit: function() {
$('#summernote1').summernote('code', 'kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk');
}
}
});
If you prefer Jsfiddle: https://jsfiddle.net/dtgr5q29/204/
With disable
the text is horizontal, it should "break the line" as well as the second code.
Some solution ?