How To Edit Files with File Manager

 There are three different ways to edit files in the File Manager: Text editor, Code editor and HTML editor.
This tutorial assumes you’ve already logged in to cPanel’s File Manager.
Text editor and Code editor can be opened within each other’s interface.

  1. HTML Editor has its own interface. Let’s edit a file. Select “testfile.html” by single clicking it.
  2. Now click the Edit button to open the Text Editor.

    filemgr-cpanel-8-edit-scene02_1

  3. You will see this Encoding Check screen every time you edit a file. Either disable it or just click Edit. In this case, we’ll click Edit.

    filemgr-cpanel-8-edit-scene04_1

    The editor will be opened in a new tab. As you can see, we don’t have any text in this file, so let’s write some.

  4. Now click on Save Changes to save the text.

    filemgr-cpanel-8-edit-scene05_1

  5. You have successfully saved the file. Now let’s check the “Code editor”. Click on “Use Code Editor” to access it.

    filemgr-cpanel-8-edit-scene06_1

    This menu has a WYSIWYG editor, which will allow you to edit text easily without knowing any HTML code. Just select the text and choose your options. That’s it!

  6. Now let’s check the HTML Editor. Just click Close to go back to the File Manager.
  7. Keep “testfile.html” selected and click on HTML Editor.

    filemgr-cpanel-8-edit-scene09_1

  8. Click Edit to continue.

    filemgr-cpanel-8-edit-scene10_1

    Note that this editor has more WYSIWYG options.

    filemgr-cpanel-8-edit-scene11_1

    Again, this editor will be opened in a new tab.
    You will also be able to view code in Design mode, Source mode and Preview mode.

  9. To close this editor, just close this tab and go back to the File Manager.

 

Be Sociable, Share!

Published by

Here's 75 % off, Launch a New VPS Today. Find out why 30,000 customers have chosen our Best-in-Class Performance & 24x7 Heroic Support