Try our conversational search powered by Generative AI!

SVG tag is stripped by TinyMCE.

H F
H F
Vote:
 

Hello everyone,

anyone has any suggestions how to make TinyMCE accept the SVG pasted code (inside html editor) + keep it?

I am on 2.6.5 version of TinyMCE and 11.11 for Epi.

thank you!

#203818
May 07, 2019 21:50
Vote:
 

Do you need to add to the extended_valid_elements to allow for the SVG? You would do this in an initialization module. 

See: https://www.cjsharp.com/blog/2018/08/17/how-to-add-valid-elements-like-iframes-to-tinymce-version-2-in-episerver/ 

#203840
May 08, 2019 15:56
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.