add missing autocompletions (#514)

* added missing autocompletions:
- code-block
- container
- header
- image
- link
- pdf

* added extraTags ([name=], [time=], [color=]) to the link autocompletion, because they trigger on the same characters
added getUser in /redux/user/methods to retrive the current user outside of .tsx files
improve the regexps on several autocompletion

* renamed hints to auto
Co-authored-by: Erik Michelson <github@erik.michelson.eu>
Co-authored-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
This commit is contained in:
Philip Molares 2020-09-01 22:28:08 +02:00 committed by GitHub
parent 2decfc1fa2
commit db4f2a4478
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 599 additions and 86 deletions

View file

@ -15,3 +15,7 @@ export const clearUser: () => void = () => {
}
store.dispatch(action)
}
export const getUser = (): UserState | null => {
return store.getState().user
}