Various minor usability refinements

This commit is contained in:
Bernd Bestel
2025-01-16 21:34:01 +01:00
parent b0dded1346
commit ded742a7c1
11 changed files with 38 additions and 11 deletions

View File

@@ -9,7 +9,16 @@ $("textarea.wysiwyg-editor").summernote({
$img = $('<img>').attr({ src: url, class: "img-fluid", loading: "lazy" })
$(this).summernote("insertNode", $img[0]);
}
}
},
toolbar: [
['fontsize', ['fontsize']],
['font', ['bold', 'underline', 'clear']],
['color', ['color']],
['para', ['ul', 'ol', 'paragraph']],
['table', ['table']],
['insert', ['link', 'picture', 'video']],
['view', ['codeview', 'fullscreen']]
]
});
// Summernote workaround: Make embeds responsive