From 70229149a928f1dfed4d0dc54b5a841ab7525198 Mon Sep 17 00:00:00 2001 From: ray Date: Fri, 14 Aug 2020 18:58:21 +0100 Subject: [PATCH] add TODOs --- src/index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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(); }