How to Edit Files in cPanel and DirectAdmin
Certain files can be edited within the file manager.
To edit a file via Direct Admin File Manager, click the Edit link in the Action column next to the file.
To save the file, click the Save As button.
The Preview HTML button will pop up the document in a new window allowing you to view the web page before saving it.
If you want to edit files via cPanel File Manager you have to click the right button of your mouse on the file you want to edit and choose Edit from the appeared menu.