Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use svg images inside a RichTextField #11

Open
Ash-Crow opened this issue Aug 16, 2021 · 1 comment
Open

Use svg images inside a RichTextField #11

Ash-Crow opened this issue Aug 16, 2021 · 1 comment

Comments

@Ash-Crow
Copy link
Contributor

Hello,

Would it be possible to either add a "SVG" button or alter the behavior of the "Image button" in the RichTextField editor bar so that we can include SVG images inside a RichTextField the same way we can include a PNG or JPG ?

@Aleksi44
Copy link
Owner

Hi @Ash-Crow

Currently, this is not possible with wagtailsvg.

Personally, I don't include images in the richtext editor. I prefer to use a StreamField.

If you want to go further on the subject, here are some useful links:

https://github.com/wagtail/wagtail/blob/main/wagtail/images/wagtail_hooks.py#L64
https://docs.wagtail.io/en/stable/advanced_topics/customisation/page_editing_interface.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants