﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
13047	<figure> in stylesSet does not wrap <img>	Osvaldas		"I define this in config:

{{{
stylesSet	: [ { name: 'Figure', element: 'figure' } ]
}}}

In the editor, when I select an image (<img>) and then select ""Figure"" from the styles list, I get this (view source):

{{{
<figure alt="""" src=""img.jpg""> </figure>
}}}

...instead of this:

{{{
<figure><img alt="""" src=""img.jpg""></figure>
}}}

There's something wrong with <figure> treatment in the editor, because if I change ""figure"" to ""span"" in stylesSet, the image gets nicely wrapped."	Bug	closed	Normal		Core : Styles		expired		
