Opened 15 years ago
Closed 15 years ago
#5428 closed Bug (duplicate)
Object styles not working for links (a tag) in browsers other than Firefox
Reported by: | Niek Kouwenberg | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | Core : Styles | Version: | 3.2 |
Keywords: | Cc: |
Description
I've created a custom stylesCombo_stylesSet file, in which I've included some classes for links:
CKEDITOR.addStylesSet( 'my_stylesheet', [
{ name: 'Info', element: 'span', attributes: {'class': 'info'} }, { name: 'Error', element: 'span', attributes: {'class': 'error'} },
{ name: 'More', element: 'a', attributes: {'class': 'more'} }, { name: 'Feed', element: 'a', attributes: {'class': 'feed'} }
]);
The SPAN elements always appear, as described in the documentation. Also according to the documentation, the A element is a 'special selectable element', for which the styles only appear when this element is selected.
When I select a link in Firefox (2/3/3.6), en open the styles dialog, the "More" and "Feed" classes are present. However, doing the same in any other browser has no effect. Neither IE 6/7/8, Chrome, Opera or Safari. Note: that the other special types, like P and IMG do work in those browsers, only A elements appear to be be affected.
I've tested this with CKEditor 3.1, 3.1.1 and 3.2, and all versions have this problem.
Change History (1)
comment:1 Changed 15 years ago by
Resolution: | → duplicate |
---|---|
Status: | new → closed |
Version: | SVN (CKEditor) → 3.2 |
Despite the version marked as SVN CKEditor it's clear that you didn't test that one as it's already fixed there.
Dup of #536