How to edit files with File Manager

File Manager for cPanel

8. 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.
FutureHosting Best Hosting in Ireland - How to edit files with File Manager

This demo 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.
FutureHosting Best Hosting in Ireland - How to edit files with File Manager

3) You will see this Encoding Check screen everytime you edit a file. Either disable it or just click Edit. In this case, we'll click Edit.
FutureHosting Best Hosting in Ireland - How to edit files with File Manager

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.
FutureHosting Best Hosting in Ireland - How to edit files with File Manager

5) You have successfullysaved the file. Now let's check the "Code editor". Click on "Use Code Editor" to access it.
FutureHosting Best Hosting in Ireland - How to edit files with File Manager

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!
FutureHosting Best Hosting in Ireland - How to edit files with File Manager

The footer just shows the position of the cursor, how many lines you have, and how many characters.

6) Now let's check the HTML Editor. Just click Close to go back to the File Manager.
FutureHosting Best Hosting in Ireland - How to edit files with File Manager

7) Keep "testfile.html" selected and click on HTML Editor.
FutureHosting Best Hosting in Ireland - How to edit files with File Manager

8) Click Edit to continue.
FutureHosting Best Hosting in Ireland - How to edit files with File Manager

Note that this editor has more WYSIWYG options.
FutureHosting Best Hosting in Ireland - How to edit files with File Manager

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.

This is the end of the tutorial. Now you know how to edit files in File Manager.

Ця відповідь Вам допомогла?

 Роздрукувати цю статтю

Також прочитайте

How to zip and unzip files in File Manager

File Manager for cPanel 10. How to zip and unzip files in File Manager This demo assumes you've...

How to upload and download files with File Manager

File Manager for cPanel 7. How to upload and download files with File Manager This demo assumes...

How to copy and move files in File Manager

File Manager for cPanel 5. How to copy and move files in File Manager This demo assumes you've...

How to create new files and folders in File Manager

File Manager for cPanel 4. How to create new files and folders in File Manager This demo...

How to change file permissions with File Manager

File Manager for cPanel 9. How to change file permissions with File Manager This demo assumes...