<svg> not accepted by standard Joomla Article Editor ??

Did you find a bug in Joomla! 3.x but aren't sure? This forum is the place to help figure out if the problem is a bug and how to report it. If you are an experienced Joomla! user and are certain that you have found a bug please use the Bug Tracker to submit your issue.
This forum is for discussion about bugs and to get help with reporting them to the Bug Tracker: https://issues.joomla.org

Moderator: ooffick

Forum rules
Please use the official Bug Tracker to report a bug: https://issues.joomla.org
Joomla! Apprentice
Joomla! Apprentice
Posts: 10
Joined: Sun May 03, 2009 9:06 pm
Location: Amsterdam

<svg> not accepted by standard Joomla Article Editor ??

Post by podvelde » Fri Jan 01, 2016 8:14 pm

I guess the title says it all. I'm trying to enter an SVG-diagram (Scalable Vector Graphics) as part of a Joomla-article (in raw html-mode of course).

The Article Editor consistently removes the <svg></svg> tag pair (and anything in between, afaia).

1. Am I doing something wrong (or is there something I don't understand) ??
2. Why is that (SVG tends to be a part of HTML5 as far as browsers are concerned) ?
3. What can I do about it ??

User avatar
Joomla! Hero
Joomla! Hero
Posts: 2458
Joined: Fri Aug 28, 2015 6:13 am
Location: México

Re: <svg> not accepted by standard Joomla Article Editor ??

Post by AlexVega » Sat Jan 02, 2016 12:54 am

Hi there!

By default, for security reasons you can't add custom tags in the editor,
here we have some options to solve this:

Go to Extensions > Plugins > Editor - TinyMCE

From here, at the bottom you can add your valid or extended elements.

Other solution is using an extension like this one to place your code:
http://extensions.joomla.org/extensions ... /sourcerer




Return to “Joomla! 3.x Bug Reporting”