Comments (7)
I had the same problem when wagtail released version 2.13, you can see it here.
Some hints that might help you :
- all your static files are fetched? (no 404)
- check your wagtail version (pip freeze)
If you still can't find it, I can help you if you create a public repository to reproduce the bug.
from wagtailsvg.
I'm glad you found the reason :)
I'll leave the ticket open if it helps anyone.
from wagtailsvg.
Hi @rafagarciac
Do you have javascript errors in the console?
Can you test your project with this version:
pip install wagtailsvg==0.0.11
It is possible that the problem is related to #7 for wagtail 2.13 support.
from wagtailsvg.
@Aleksi44
I don't have any JS errors in the console.
Why would I change the wagtailsvg version to 0.0.11
since there isn't any change related to SvgChooserBlock
or AdminSvgChooser
which is the error where I'm getting from... 🤔 ??
The problem related to #7 is for wagtail 2.13
, so I don't think is related because my Wagtail version is 2.10.2
.
Thanks for your quickly reply !
from wagtailsvg.
The SVG preview in Streamfield is handled differently in wagtail 2.13 than in previous versions.
wagtailsvg==0.0.14 uses the wagtail 2.13 implementation
wagtailsvg==0.0.11 uses the implementation of older versions of wagtail
from wagtailsvg.
I changed the wagtailsvg version from 0.0.14
to 0.0.11
and still does not work.
It does not include usefull change to SvgChooserBlock
or AdminSvgChooser
from the version that I had. (0.0.14
).
Do you think is it something related about wagtail version itself 2.10.2
?
@Aleksi44 Any idea ? 🤔
from wagtailsvg.
Hi @Aleksi44, I've already created a WagtailSVG Test Project, to run this project in isolation and it works perfectly !
I also I've detected that the bug I'm getting in the is related with the following wagtail package: wagtail-react-streamfield
.
https://github.com/wagtail/wagtail-react-streamfield and isn't related with wagtailsvg
itself. 👌🏼
For the other hand, I've updated the WagtailSVG Test Project with the package wagtail-react-streamfield
, in order to check what is causing this problem and try to fix it as soon as possible.
Finally, I found this related issue wagtail-deprecated/wagtail-react-streamfield#26 on wagtail-react-streamfield
package.
Thanks again.
from wagtailsvg.
Related Issues (12)
- Migration wagtailsvg.0001_initial dependencies reference nonexistent parent node ('wagtailcore', '0059_apply_collection_ordering') HOT 2
- The image in preview doesn't change in Mozilla Firefox HOT 7
- Question: How to render svg's in a template? HOT 4
- Support for other storages? HOT 4
- Django 3.2 generate excessive migrations HOT 1
- Use svg images inside a RichTextField HOT 1
- SvgChooserBlock field to graphql HOT 3
- Missing migration file for wagtailsvg', '0005_alter_svg_file ? HOT 16
- Svg chooser block does not allow me to upload svg HOT 1
- Update wagtail-generic-chooser HOT 3
- Not compatible with wagtail 6.0
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wagtailsvg.