diff --git a/src/components/apps/text-editor/TextEditor.jsx b/src/components/apps/text-editor/TextEditor.jsx index 8271dc9..4ae8776 100644 --- a/src/components/apps/text-editor/TextEditor.jsx +++ b/src/components/apps/text-editor/TextEditor.jsx @@ -171,6 +171,8 @@ export function TextEditor({ file, setTitle, setIconUrl, close, mode, app, modal "Zoom In": ["Control", "+"], "Zoom Out": ["Control", "-"], "Reset Zoom": ["Control", "0"], + "Edit mode": ["Control v"], + "Preview mode": ["Control v"], } }} /> diff --git a/src/components/modals/share/Share.jsx b/src/components/modals/share/Share.jsx index e555b8f..7269206 100644 --- a/src/components/modals/share/Share.jsx +++ b/src/components/modals/share/Share.jsx @@ -7,6 +7,9 @@ import AppsManager from "../../../features/apps/appsManager.js"; import utilStyles from "../../../styles/utils.module.css"; import { Button } from "../../_utils/button/Button.jsx"; import Option from "./Option.jsx"; +import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"; +import { faSquare } from "@fortawesome/free-regular-svg-icons"; +import { faSquareCheck } from "@fortawesome/free-solid-svg-icons"; const APP_OPTIONS = { "terminal": [ @@ -94,10 +97,16 @@ export function Share({ modal, params, ...props }) { )} - : null} {APP_OPTIONS[appId]?.map(({ label, name }) =>