Jump to content
thirty bees forum
  • 0

Is there a way to use an svg logo instead of png or jpg?


x97wehner

Question

5 answers to this question

Recommended Posts

  • 0

I've tried to use svg in the custom contents. In that case you should paste the svg source into tinyMCE. There's one trick for it (https://world.episerver.com/Modules/Forum/Pages/Thread.aspx?id=114996) , otherwise tinyMCE will delete all svg:

  1. Always have a name attibute for the svg element: <svg name="something"
  2. Always have a data-mce attribute for the svg element: <svg data-mce-something="something"
  3. Include some text content within the svg element:   Using these techniques i could succesfully store inline svg in an xhtml property

All this means, you have to edit appropriate .tpl manually

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...