[FEATURE] Addditional Filetypes for editor
This commit is contained in:
parent
beca266eef
commit
99c735a6fd
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ import Toolbar from "@mui/material/Toolbar";
|
||||||
import TextEditor from "./TextEditor.jsx";
|
import TextEditor from "./TextEditor.jsx";
|
||||||
import { cairoAuthHeader } from "@mcl/util/auth.js";
|
import { cairoAuthHeader } from "@mcl/util/auth.js";
|
||||||
|
|
||||||
const textFileTypes = ["properties", "txt", "yaml", "yml", "json", "env"];
|
const textFileTypes = ["properties", "txt", "yaml", "yml", "json", "env", "toml", "tml", "text"];
|
||||||
const imageFileTypes = ["png", "jpeg", "jpg"];
|
const imageFileTypes = ["png", "jpeg", "jpg"];
|
||||||
|
|
||||||
export const supportedFileTypes = [...textFileTypes, ...imageFileTypes];
|
export const supportedFileTypes = [...textFileTypes, ...imageFileTypes];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue