Skip to content

File_Editor

sitMCella edited this page Apr 15, 2023 · 4 revisions

The File Editor component in the Document page manages a file.

Definition

The File Editor component shows the content of a selected file and lets you edit and manage the file.

Edit File

The File Editor component shows a different header between files with TXT and MD extensions, and Rich Text Files (with RTF extension).

For simple text files (with TXT and MD extensions), the user can select the Font Family and Font size from the header of the File Editor. The font style will be applied just on the File Editor. The Save action will not retain the font style.

Document

For a Rich Text File, the File Editor header will provide an extensive set of font and document style formats. The style will be applied just on the File Editor. The Save action will retain the font and document style.

Document

Save File

Refer to the Directory page in order to open a file or create a new file.

The application will open the File Editor component, showing the content of the file.

Click on the "Save" button in the File Editor component, in order to save the file in a new commit in either the same branch or in a new branch.

File Save

From the "Save File" panel, specify the name of the branch, the name of the file, and the commit message, then click on the button "Save".

The application will update both the Branches section and the Directory section.

Delete File

Refer to the Directory page in order to open a file.

The application will open the File Editor component, showing the content of the file.

Click on the "Delete" button in the File Editor component, in order to delete the file and create a new commit in either the same branch or in a new branch.

File Delete

From the "Delete File" panel, specify the name of the branch, and the commit message, then click on the button "Delete".

The application will update both the Branches section and the Directory section.

Clone this wiki locally