Where do we set the path to a local library? #474
-
Where do we set the path for the local demo library so that it chooses the folder with all of our svg files in it to choose from? |
Beta Was this translation helpful? Give feedback.
Answered by
Lorrainbow
May 14, 2023
Replies: 1 comment
-
I'm two years too late, but in case anyone else stumbles across this question, here's the answer from a django point of view. I took this code from index.html and put it in my django template page. You need to reference the css file as well but here's the editor.js edited and what they were looking for: setting the img_path to your path, in my case my django static path
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
jfhenon
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm two years too late, but in case anyone else stumbles across this question, here's the answer from a django point of view.
I took this code from index.html and put it in my django template page. You need to reference the css file as well but here's the editor.js edited and what they were looking for: setting the img_path to your path, in my case my django static path