diff --git a/src/index.js b/src/index.js index b6fc306..b33faeb 100644 --- a/src/index.js +++ b/src/index.js @@ -36,7 +36,6 @@ registerBlockType('room-vw/iconify', { category: 'room-vw', supports: { - // Removes support for an HTML mode. html: false, align: ['left', 'center', 'right'], }, @@ -83,10 +82,12 @@ registerBlockType('room-vw/iconify', { // TODO loading indicator Iconify.loadIcons([iconString], () => { // TODO if icon not found + // TODO customisations object as renderHTML second argument setSVG(Iconify.renderHTML(iconString), newPrefix, newName); closeModal(); }); } else { + // TODO customisations object as renderHTML second argument setSVG(Iconify.renderHTML(iconString), newPrefix, newName); closeModal(); }