A Summernote plugin that adds a button to the table popover allowing the user to apply Bootstrap table styles.
There are two types of styles, exclusive and inclusive. Only one exclusive style may be chosen at a time, whereas multiple inclusive styles may be chosen. Currently applied styles are indicated with check marks.
Exclusive Styles
Inclusive Styles
summernote-table-styles.js
to your projecttableStyles
$(document).ready(function() {
$('#summernote').summernote({
popover: {
table: [
['add', ['addRowDown', 'addRowUp', 'addColLeft', 'addColRight']],
['delete', ['deleteRow', 'deleteCol', 'deleteTable']],
['custom', ['tableStyles']]
],
},
});
});
https://rawgit.com/tylerecouture/summernote-table-styles/master/Example/example.html