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