Skip to content

Commit

Permalink
Merge pull request #2937 from AFreeChameleon/fix_2925
Browse files Browse the repository at this point in the history
Fixed playground subscript & superscript buttons
  • Loading branch information
zbeyens authored Feb 8, 2024
2 parents 00bfe3a + d762d67 commit 2ac29dc
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ export function PlaygroundMoreDropdownMenu(props: DropdownMenuProps) {
<DropdownMenuItem
onSelect={() => {
toggleMark(editor, {
key: MARK_SUBSCRIPT,
clear: MARK_SUPERSCRIPT,
key: MARK_SUPERSCRIPT,
clear: MARK_SUBSCRIPT,
});
focusEditor(editor);
}}
Expand All @@ -78,8 +78,8 @@ export function PlaygroundMoreDropdownMenu(props: DropdownMenuProps) {
<DropdownMenuItem
onSelect={() => {
toggleMark(editor, {
key: MARK_SUPERSCRIPT,
clear: MARK_SUBSCRIPT,
key: MARK_SUBSCRIPT,
clear: MARK_SUPERSCRIPT,
});
focusEditor(editor);
}}
Expand Down

0 comments on commit 2ac29dc

Please sign in to comment.