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
-
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
IconPicker
component from 10up, aniconStore
is 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