I’m trying to use tables with the Quill WYSIWYG editor. I’m trying to do it in the sandbox: https://quilljs.com/playground/snow . I’ve added ['table']
to the toolbar, so now it looks like this:
const quill = new Quill('#editor', {
modules: {
toolbar: [
[{ header: [1, 2, false] }],
['bold', 'italic', 'underline'],
['image', 'code-block'],
['table']
],
},
placeholder: 'Compose an epic...',
theme: 'snow', // or 'bubble'
});
The table icon appeared, however I have no freakin’ idea on how to add columns and rows to it. Does anyone know?