Some of my custom styles in the CKeditor styles drop-down menu, preview badly. Can I override how they look in the menu itself (eg. text only, for selected styles)?

For example, emphasized text appears bold, which is great. But my enlarged, encircled, right-aligned text appears to the right of the drop-down window (see attachment).

CommentFileSizeAuthor
ckeditor-custom-styles-drop-down.jpg8.74 KBiantresman
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

iantresman’s picture

Looks like several StackOverflow contributions address and solve this:

They both use the following CSS snippet, which uses the !important declaration to override:

.cke_panel_listItem * {
    float:none !important;
}