|
Adding Image Maps when using JCE editor |
|
We consider JCE to be the best WYSISWG editor for Joomla. We came across a recent issue when trying to edit content that required an image map to be associated with a graphic in the content. Basically, JCE was stripping out the whole map when we added it via the HTML editor.
The solution? Simply add...
map[name],area[shape|coords|href|alt|title]
...to the Extended Elements attribute in the JCE Configuration (Components > JCE Admin > JCE Configuration). You can then add the image map without fear that JCE is going to strip it out.
Make sure you prefix the map name with a #, for example:
<img usemap="#m_name"....></img><map name="m_name">....
|