If a website has enabled SVG uploads, a new option will now show in the Icon Block that allows you to insert an SVG from the Media Library. The plugin does not enable SVG uploads itself, you will need to be using something like the Safe SVG plugin or have enabled SVGs manually.
When an SVG is inserted, the file is validated and then parsed into a string. This allows you to use all of the built-in block controls. The inserted SVG can also be edited manually in the custom SVG modal.
Fixes #16
If a website has enabled SVG uploads, a new option will now show in the Icon Block that allows you to insert an SVG from the Media Library. The plugin does not enable SVG uploads itself, you will need to be using something like the Safe SVG plugin or have enabled SVGs manually.
When an SVG is inserted, the file is validated and then parsed into a string. This allows you to use all of the built-in block controls. The inserted SVG can also be edited manually in the custom SVG modal.