﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
13818	Allow to link widget style definitions, so applying one style might disable the other	Marek Lewandowski	Wiktor Walc	"This is a follow-up of #13200 issue.

Some styles styles might exclude the others, take alignment class for an example. Having `left-align` and `right-align` class, we want to use only one at a time.

What we can do is to add `group` property to the style definition passed to `config.stylesSet`.

{{{
var stylesSet = [
    { name: 'Left align', type: 'widget', widget: 'image', attributes: { 'class': 'left-align' }, gorup: 'alignment' },
    { name: 'Right align', type: 'widget', widget: 'image', attributes: { 'class': 'right-align' }, gorup: 'alignment' }
];
}}}

=== Scope of the Fix

For the time being let's **restrict only to widget system**. Later on we might bring support for that for Object styles, that are implemented in `core/style.js`.


=== Multiple Groups

Now there possiblty might be a case when style fits (excludes) more than one group. So we should also accept array of groups in such case."	New Feature	closed	Normal	CKEditor 4.6.2	General	4.4.0	fixed		
