mirror of
https://github.com/vector-im/element-web.git
synced 2026-05-04 19:56:45 +02:00
Update type Completion
This commit is contained in:
parent
0600c5b049
commit
6d7bff83ca
@ -34,12 +34,9 @@ export type Completion = {
|
||||
component: ?Component,
|
||||
range: SelectionRange,
|
||||
command: ?string,
|
||||
// An entity applied during the replacement (using draftjs@0.8.1 Entity.create)
|
||||
entity: ? {
|
||||
type: string,
|
||||
mutability: string,
|
||||
data: ?Object,
|
||||
},
|
||||
// If provided, apply a LINK entity to the completion with the
|
||||
// data = { url: href }.
|
||||
href: ?string,
|
||||
};
|
||||
|
||||
const PROVIDERS = [
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user