Symptoms
The site page appears editable after updating an HTML file using the HTML Editor(Beta) in the File Manager feature.
Description
The Global Attribute below is added when saving changes to an HTML file using the HTML Editor(Beta). While this Global Attribute allows for visual modifications of the site content while viewing the page, users are unable to commit the changes to the website code.
We've opened an internal case for our development team to investigate this further. For reference, the case number is CPANEL-50253. Follow this article to receive an email notification when a solution is published in the product.
Workaround
This is often not desired in a live website, and so you may want to remove it. This task must be completed using a text editor through the cPanel Terminal or an SSH connection.
- Log in to the cPanel interface for your account.
- Navigate to "Home / Advanced / Terminal"
- Click on "I understand and want to proceed."
- Open the HTML file using your preferred text editor(i.e., vi, vim, nano).
-
Remove the following line from the code.
<body contenteditable="true" dir="ltr" spellcheck="false" style="direction: ltr; min-height: 901px;"> - Save and exit the text editor.