Closed WaKeMaTTa closed 7 years ago
I found the soultion. You need to pass tag: "div"
.
Example:
$('#summernote').summernote({
addclass: {
debug: false,
classTags: [{ title: "Highlight for H1 and H2", tag: "div" value: "custom"}]
},
height: 300,
toolbar: [
// [groupName, [list of button]]
['style', ['style', 'addclass', 'clear']],
]
});
Why i get undefined instead of
span
:question:Specs