|
| 1 | +import { ReactNode } from "react"; |
| 2 | + |
1 | 3 | import { CplxUserSettings } from "@/cplx-user-settings/types/cplx-user-settings.types";
|
| 4 | +import KeyCombo from "@/shared/components/KeyCombo"; |
2 | 5 |
|
3 | 6 | export type PopupSetting<T> = {
|
4 | 7 | id: string;
|
5 | 8 | label: string;
|
6 |
| - description?: string; |
| 9 | + description?: ReactNode; |
7 | 10 | settingKey?: T;
|
8 | 11 | versionRelease?: string;
|
9 | 12 | experimental?: boolean;
|
@@ -63,7 +66,7 @@ export default class GeneralSettings {
|
63 | 66 | id: "custom-markdown-block",
|
64 | 67 | label: "Custom markdown block",
|
65 | 68 | description:
|
66 |
| - "Precisely display the language of your code and enable syntax highlighting for natively unsupported languages. e.g. `gdscript`, `blade`, etc.", |
| 69 | + "Precisely display the language of your code and enable syntax highlighting for natively unsupported languages. e.g. `vue`, `gdscript`, `blade`, etc.", |
67 | 70 | settingKey: "customMarkdownBlock",
|
68 | 71 | },
|
69 | 72 | {
|
@@ -93,7 +96,15 @@ export default class GeneralSettings {
|
93 | 96 | id: "no-file-creation-on-paste",
|
94 | 97 | label: "No file creation on long text paste",
|
95 | 98 | settingKey: "noFileCreationOnPaste",
|
96 |
| - description: "Pasting long text no longer creates a file.", |
| 99 | + description: ( |
| 100 | + <span> |
| 101 | + <KeyCombo |
| 102 | + className="tw-inline" |
| 103 | + keys={["Control (⌘)", "Shift", "V"]} |
| 104 | + />{" "} |
| 105 | + to paste long text without creating a file. |
| 106 | + </span> |
| 107 | + ), |
97 | 108 | versionRelease: "0.0.1.0",
|
98 | 109 | },
|
99 | 110 | {
|
|
0 commit comments