Skip to content

Commit

Permalink
Align left/right arrow style with other arrows (remirror#1425)
Browse files Browse the repository at this point in the history
The shortcut used the 'LEFT RIGHT BLACK ARROW' (U+2B0C) whereas the left arrow and the right arrow are not the BLACK variant. For visual consistency, this commit changes the left/right arrow to the non-BLACK version 'LEFT RIGHT ARROW' (U+2194).

Raised by remirror#1423 (comment)
  • Loading branch information
ronnyroeller authored Dec 10, 2021
1 parent fd76cc2 commit 32f14d0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/sour-rockets-tan.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@remirror/extension-shortcuts': patch
---

Align left/right arrow style with other arrows
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const SHORTCUTS: Array<[RegExp, string]> = [
[/->$/, '→'],
// left/right arrow
// First "<-" gets replaced by left arrow; after typing ">", both get replaced by left/right arrow
[/>$/, ''],
[/>$/, ''],
// copyright
[/\(c\)$/, '©'],
// trademark
Expand Down

0 comments on commit 32f14d0

Please sign in to comment.