SVG Symbols for Uploads #3597
GeorgeHulpoi
started this conversation in
Feature Requests & Ideas
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.
-
Hello!
I'm trying to insert symbols from SVG files into the Payload. Basically, when I upload a file, it should parse my file with the symbols in it.
An example file:
Then you can choose through the Upload Field the SVG file and the symbol.
The problem is that Payload is trying to extract data from this file, more exactly here. Using the given file will throw an error.
For me, it's clear that I need a way to customize the uploading, and I think that it's a good idea to be able to set custom handlers/operations.
I want to create a plugin for using SVG Symbols, which can bring a real advantage to creating websites with reactive themes. The SVG Symbols is the only way to import an SVG and use external CSS variables.
Beta Was this translation helpful? Give feedback.
All reactions