Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7648951
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T10:50:38+00:00 2026-05-31T10:50:38+00:00

I have recently upgraded FCKEditor to the CKEditor module on a website powered by

  • 0

I have recently upgraded FCKEditor to the CKEditor module on a website powered by Drupal 6.

Some of the pages on the website have invalid (x)HTML, mainly block elements inside inline elements. Before anyone edits the page, the content is rendered live on the website as it should appear.

However when an admin goes to edit the page and the editable content appears in WYSIWYG view of CKEditor, it attempts to ‘fix’ the invalid code successfully.

My question is simply how to prevent CKEditor from re-writing the code in WYSIWYG view?

Here is example code:
Should be / what I need:

<a class="link-block" href="index.html"><h2>My Header</h2><p>Some text.</p></a>

Result after editor save:

<h2><a class="link-block" href="index.html">My Header</a></h2><p><a class="link-block" href="index.html">Some text.</a></p>

Before I get scorned by anyone, I know code should be valid according to W3C specs however I didn’t build the website and to re-code it all would be a monumental task.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T10:50:39+00:00Added an answer on May 31, 2026 at 10:50 am

    if you are using FCEditor with wysiwyg module, go to YOURSITE/admin/config/content/wysiwyg/profile/full_html/edit, then open the section “Cleanup and output” and uncheck “Verify HTML” option.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have recently upgraded some of my web applications to ASP.NET 3.5 by installing
I have recently upgraded from websphere 5.1.2 to websphere 6.1 server. I had some
I have recently upgraded my .Net 3.5 solution containing some C# code projects and
I have recently upgraded a Drupal site to multi-webhead environment and am trying to
I have a project where we have some Selenium tests. I have recently upgraded
I have recently upgraded my ASP.NET MVC application from beta to version 1. And
We have recently upgraded from Delphi 2009 to 2010. One of the things in
I recently upgraded VS 2005 to VS 2008. Unfortunately I have a very basic
We've recently upgraded one of our SSRS2005 servers to SSRS2008 and have found that
Our dev server was recently upgraded to PHP v5.2.13. With that upgrade we have

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.