diff --git a/src/components/molecules/CommandExamPanel.tsx b/src/components/molecules/CommandExamPanel.tsx index 78ff5c3f..bdd01dea 100644 --- a/src/components/molecules/CommandExamPanel.tsx +++ b/src/components/molecules/CommandExamPanel.tsx @@ -20,7 +20,9 @@ export const CommandExamPanel: React.FC = ({ commandExams }) => {
{commandExams.map((c) => (
- {c.command ?
{c.command}:
: undefined} + {c.command ? ( +
{c.command}
+ ) : undefined}
{c.title}
))} diff --git a/src/composables/states/appCanvas/commandExams.ts b/src/composables/states/appCanvas/commandExams.ts index 33955801..14dbaf7d 100644 --- a/src/composables/states/appCanvas/commandExams.ts +++ b/src/composables/states/appCanvas/commandExams.ts @@ -29,7 +29,7 @@ export const COMMAND_EXAM_SRC = { TEXT_MOVE_CURSOR: { command: "Ctrl + p, n, b, f", title: "Move cursor" }, TEXT_BACKSPACE: { command: "Ctrl + h", title: "Backspace" }, TEXT_DELETE: { command: "Ctrl + d", title: "Delete" }, - TEXT_EMOJI_PICKER: { command: `${getCtrlOrMetaStr()} + ":"`, title: "Emoji picker" }, + TEXT_EMOJI_PICKER: { command: `${getCtrlOrMetaStr()} + :`, title: "Emoji picker" }, TOGGLE_GRID: { command: "g", title: "Grid on/off" }, TOGGLE_PREVIEW: { command: "p", title: "Preview on/off" }, @@ -38,7 +38,7 @@ export const COMMAND_EXAM_SRC = { NEW_TEXT: { command: "t", title: "New Text" }, NEW_LINE: { command: "l", title: "New Line" }, - NEW_EMOJI: { command: `${getCtrlOrMetaStr()} + ":"`, title: "New Emoji" }, + NEW_EMOJI: { command: `${getCtrlOrMetaStr()} + :`, title: "New Emoji" }, GROUP: { command: `${getCtrlOrMetaStr()} + g`, title: "Group" }, UNGROUP: { command: `${getCtrlOrMetaStr()} + G`, title: "Ungroup" },