Skip to content

Commit

Permalink
fix: italian tag action item added to differentiated from inline ital…
Browse files Browse the repository at this point in the history
…ian action

GitOrigin-RevId: a6814463e6965079584bb845d95f2b16f7bb48e2
  • Loading branch information
abbas-nazar authored and actions-user committed Oct 16, 2024
1 parent 1cb185d commit 4d1693a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ const mkRichTextShortcuts: (sub: SubDeps) => Shortcut[] = computedFn(
fn: wrapInInlineTag("strong", sub),
},
{
action: "ITALIC",
action: "ITALIC_TAG",
hotkey: isHotkey("mod+shift+i"),
fn: wrapInInlineTag("i", sub),
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@ function RichTextToolbar_(
</Menu.Item>
<Menu.Item
aria-label="Italic element"
onClick={() => runInEditor("ITALIC")}
onClick={() => runInEditor("ITALIC_TAG")}
>
<Icon icon={ItalicsvgIcon} style={{ marginRight: 4 }} />
Italic element
Expand Down

0 comments on commit 4d1693a

Please sign in to comment.