id,summary,reporter,owner,description,type,status,priority,milestone,component,version,resolution,keywords,cc 10953,Overrides of inline Styles don't work correctly for classes,n.beekman,,"The following style definitions were taken from ticket #7492 and specified in the stylesSet config property: {{{ {name: 'Comic Font', element: 'span', attributes: {'class': 'FontComic'}, overrides: [ { element : 'span', attributes : { 'class' : /^Font(?:Comic|Courier|Times)$/ } } ]}, {name: 'Courier Font', element: 'span', attributes: {'class': 'FontCourier'}, overrides: [ { element : 'span', attributes : { 'class' : /^Font(?:Comic|Courier|Times)$/ } } ]}, {name: 'Times Font', element: 'span', attributes: {'class': 'FontTimes'}, overrides: [ { element : 'span', attributes : { 'class' : /^Font(?:Comic|Courier|Times)$/ } } ]} }}} When applying one of the styles, all is ok. When trying to select another style all styles are selected. Clicking one of these results in the class being removed altogether. When using font_names and font_style config properties the problem does not occur. However, I have a number of inline styles that need to be applied in a mutual exclusive manner (i.e. only one style may be applied on a span). I did some searching in the tracker, this issue looks very similar to #7492 which is marked as fixed. However, the associated changeset [6983] was reverted in changeset [7061] due to regression bug #8078. The original issue appears to be broken again, but was never marked as such. I was not sure whether I should reopen that issue or file a new one, so feel free to merge this ticket with #7492. Version 3.6.1 is a guess and was taken from ticket #8078. Tested with 4.2.0, 4.2.1 and 4.3 Beta.",Bug,closed,Normal,,Core : Styles,3.6.1,invalid,,