How can i get the wysiwyg/backend cms editor to accept inline svg code, i want to make the svgs stylable which means they need to be injected.

Yes i can inject them via javascript, but this causes more server requests and other issues. So i would like to give the admin the ability to add svg code via the cms backend, but by default i assume that the wysiwyg purges any unknown tags and any inline svg gets removed on save.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.