I've just created blog post using CKEditor rich text editor. I have inserted underlined test in the body using the "underline" button. The underlining did display correctly in the node edit view.

Upon publishing, on the full node view, the underlining did not show. I used bolding also and it displayed correctly both on the edit and full node published view.

Bug?

Comments

TwoD’s picture

Category: bug » support
Status: Active » Fixed

This is not a problem with Wysiwyg or the editor, but with your input format configuration. Wysiwyg runs no code during content rendering.

It's likely that you've got the "HTML Filter"-filter enabled in the current input format. You need to add the strong and u tags to its tag whitelist or it'll strip them during rendering.
If you want to add more styling like background/foreground color or font size, you can't use the "HTML Filter"-filter at all, as it always strips away the style attribute of all tags. I suggest disabling "HTML Filter" and installing/enabling WYSIWYG Filter instead. It takes some time to configure, and you'll explicitly have to list all the tags, attributes and style properties you want to allow to be rendered, but it's worth it.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

ncbasecamp’s picture

Issue summary: View changes

Spot on, CKEditor is omitting them because of your settings. If you are in Drupal 7, you can go here. /admin/config/content/formats/filtered_html