add TODOs

This commit is contained in:
Ray Elliott 2020-08-14 18:58:21 +01:00
parent 913fee9577
commit 70229149a9
1 changed files with 2 additions and 1 deletions

View File

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