What is the best way to render SVG as a dynamic block? #160
ruihuangdev
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I wonder to what attributes should I set if I want to create a dynamic block where I can choose an SVG to be rendered. In the
IconPickercomponent from 10up, aniconStoreis used to save and render the SVG in the editor. How is the SVG displayed in the render PHP file without saving the SVG's source?Beta Was this translation helpful? Give feedback.
All reactions