Skip to content

Commit

Permalink
Avoid using bg styles for markers, to avoid it enabling the bgcolor s…
Browse files Browse the repository at this point in the history
…tyle in the new ACF system.
  • Loading branch information
fredck committed Feb 21, 2013
1 parent 4ef33ff commit 1974bda
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
6 changes: 5 additions & 1 deletion contents.css
Original file line number Diff line number Diff line change
Expand Up @@ -96,4 +96,8 @@ pre
{
white-space: pre-wrap; /* CSS 2.1 */
word-wrap: break-word; /* IE7 */
}
}

.marker {
background-color: Yellow;
}
3 changes: 1 addition & 2 deletions styles.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,7 @@ CKEDITOR.stylesSet.add( 'default', [
{ name: 'Superscript', element: 'sup' },
*/

{ name: 'Marker: Yellow', element: 'span', styles: { 'background-color': 'Yellow' } },
{ name: 'Marker: Green', element: 'span', styles: { 'background-color': 'Lime' } },
{ name: 'Marker', element: 'span', attributes: { 'class': 'marker' } },

{ name: 'Big', element: 'big' },
{ name: 'Small', element: 'small' },
Expand Down

0 comments on commit 1974bda

Please sign in to comment.