As described in the documentation of Summernote, I integrated them using class.
On my page I control them via Javascript:
$(document).ready(function () {
$('.summernote').summernote({
height: 230,
toolbar: [
['style', ['bold', 'italic', 'underline', 'clear']],
['para', ['ul', 'ol', 'paragraph']]
],
placeholder: 'Leseprobe eingeben. Maximal 50.000 Zeichen.',
callbacks: {
onKeydown: function (e) {
var t = e.currentTarget.innerText;
...
How can I control it separate for the second summernote? It has to have a different toolbar and callback-functions.
Via id summernote does not work.