diff --git a/content/plugins/wysiwyg.md b/content/plugins/wysiwyg.md index 5a959ff2..7ec64388 100644 --- a/content/plugins/wysiwyg.md +++ b/content/plugins/wysiwyg.md @@ -1796,6 +1796,21 @@ window.addEventListener('load', function() { document.getElementById('mergeCellsButton').addEventListener('click', () => { editor.chain().focus().mergeCells().run(); }); + + // split cells + document.getElementById('splitCellsButton').addEventListener('click', () => { + editor.chain().focus().splitCell().run(); + }); + + // go to previous cell + document.getElementById('previousCellButton').addEventListener('click', () => { + editor.chain().focus().goToPreviousCell().run(); + }); + + // go to the next cell + document.getElementById('nextCellButton').addEventListener('click', () => { + editor.chain().focus().goToNextCell().run(); + }); } }) ` >}} @@ -1891,18 +1906,51 @@ window.addEventListener('load', function() { -