diff --git a/resources/js/wysiwyg/config.js b/resources/js/wysiwyg/config.js
index 8c85f60e2..acf5e1d52 100644
--- a/resources/js/wysiwyg/config.js
+++ b/resources/js/wysiwyg/config.js
@@ -3,6 +3,7 @@ import {listen as listenForCommonEvents} from "./common-events";
import {scrollToQueryString} from "./scrolling";
import {listenForDragAndPaste} from "./drop-paste-handling";
import {getPrimaryToolbar, registerAdditionalToolbars} from "./toolbars";
+import {registerCustomIcons} from "./icons";
import {getPlugin as getCodeeditorPlugin} from "./plugin-codeeditor";
import {getPlugin as getDrawioPlugin} from "./plugin-drawio";
@@ -291,6 +292,7 @@ export function build(options) {
head.innerHTML += fetchCustomHeadContent();
},
setup(editor) {
+ registerCustomIcons(editor);
registerAdditionalToolbars(editor, options);
getSetupCallback(options)(editor);
},
diff --git a/resources/js/wysiwyg/icons.js b/resources/js/wysiwyg/icons.js
new file mode 100644
index 000000000..2c2457fe1
--- /dev/null
+++ b/resources/js/wysiwyg/icons.js
@@ -0,0 +1,21 @@
+const icons = {
+ 'table-delete-column': '',
+ 'table-delete-row': '',
+ 'table-insert-column-after': '',
+ 'table-insert-column-before': '',
+ 'table-insert-row-above': '',
+ 'table-insert-row-after': '',
+ '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