Edit a Template Open as a Rich Text Editor and not as The New XHTML Editor

Still need help?

The Atlassian Community is here for you.

Ask the community

Symptoms

When you try to edit a space template, the edit page opens as a Rich text editor instead of the new XHTML editor.

Cause

This is caused because the BODYTYPEID rows of the table PAGETEMPLATE are set as 0 while it should be set as 2 instead. The reason why it was not converted is still unknown, however probably could have been caused by some corrupted upgrade of confluence.

Resolution

  • Perform a database backup before!
  • Run the following SQL statement:

    UPDATE pagetemplates SET bodytypeid = 2;
    
Last modified on Feb 26, 2016

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.