hedgedoc/public
Philip Molares c410a58573
Add emoji picker (#329)
* Added emoji-mart as emoji-picker
* Fixed JSON to TypeScript-object parsing
* added fork awesome to emoji-picker
added ForkAwesomeIcons enum, because it's not possible to iterate over a typescript type consisting of strings [1]. This is a bit unfortunate since we now have two lists of all the fork awesome icons, but sadly it can not be done another way.
added fork awesome as a custom category to the emoji picker.

[1]: https://stackoverflow.com/questions/40863488/how-to-iterate-over-a-custom-literal-type-in-typescript
* made picker close, when clicking away
added react-use dependency for useClickAway hook
* Fixed emoji-picker loading images from unpkg instead of using font
* fixed addEmoji function
added tests
* Extract customIcons into useMemo

Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
Co-authored-by: Erik Michelson <github@erik.michelson.eu>
Co-authored-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2020-08-07 18:54:37 +02:00
..
api/v2 Add register via username and refactor email-login to username-login (#313) 2020-08-04 23:13:12 +02:00
icons Replace react icon with default codimd icon 2020-05-31 19:17:24 +02:00
img Add emoji picker (#329) 2020-08-07 18:54:37 +02:00
locales Add codemirror keybindings and addons (#311) 2020-08-06 13:43:48 +02:00
acme.png added branding option (#301) 2020-07-01 23:20:00 +02:00
index.html better support for rtl languages (#170) 2020-06-08 23:49:14 +02:00
robots.txt imported current state of the mockup into the public repo 2020-05-14 15:41:38 +02:00