add TODOs
This commit is contained in:
parent
913fee9577
commit
70229149a9
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue