X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/953402f2eb05e00f2aa8440084df17a16fc8e52a..refs/pull/4467/head:/resources/js/wysiwyg/icons.js diff --git a/resources/js/wysiwyg/icons.js b/resources/js/wysiwyg/icons.js index 2c2457fe1..3045df227 100644 --- a/resources/js/wysiwyg/icons.js +++ b/resources/js/wysiwyg/icons.js @@ -5,17 +5,15 @@ const icons = { 'table-insert-column-before': '', 'table-insert-row-above': '', 'table-insert-row-after': '', - 'table': '', + table: '', 'table-delete-table': '', }; - /** * @param {Editor} editor */ export function registerCustomIcons(editor) { - for (const [name, svg] of Object.entries(icons)) { editor.ui.registry.addIcon(name, svg); } -} \ No newline at end of file +}