mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-20 02:05:21 -04:00
Add Emoji/FA Autocompletion (#387)
added emoji/fork-awesome autocompletion added autocompletion e2e test Co-authored-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de> Co-authored-by: Erik Michelson <github@erik.michelson.eu>
This commit is contained in:
parent
c8c5569426
commit
c15f0d9900
13 changed files with 279 additions and 38 deletions
15
src/external-types/emoji-mart/dist-es/utils/emoji-index/nimble-emoji-index.d.ts
vendored
Normal file
15
src/external-types/emoji-mart/dist-es/utils/emoji-index/nimble-emoji-index.d.ts
vendored
Normal file
|
@ -0,0 +1,15 @@
|
|||
import 'emoji-mart'
|
||||
|
||||
declare module 'emoji-mart' {
|
||||
export interface SearchOption {
|
||||
emojisToShowFilter: (emoji: EmojiData) => boolean
|
||||
maxResults: number,
|
||||
include: EmojiData[]
|
||||
exclude: EmojiData[]
|
||||
custom: EmojiData[]
|
||||
}
|
||||
|
||||
export class NimbleEmojiIndex {
|
||||
search (query: string, options: SearchOption): EmojiData[] | null;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue