diff options
author | Daniel Calviño Sánchez <danxuliu@gmail.com> | 2020-01-08 04:23:05 +0300 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2020-01-09 22:19:18 +0300 |
commit | c728282147a1c376630902fbe7bf0d3f3d3b5cb6 (patch) | |
tree | 3c6f1be316b50e9104f906c113e42f398380fe81 /package-lock.json | |
parent | 920deedec88bdd8ceb3fdc3c382ebb0a1630b32e (diff) |
Add basic autocompletion of mentions
The vue-at component is used to provide the autocompletion UI. This
component handles the edition in its wrapped contenteditable, so the
"vue-contenteditable-directive" is no longer needed. As the new message
form hides its overflowing children (and it can not be removed, as it
breaks the layout when typing long (tall) messages) the
"vue-at-reparenter" helper is used.
In this initial version the candidate mentions show the id of the user
or guest that matches the current "@" mention being written and, when
selected, adds that id as plain text to the editable content.
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Diffstat (limited to 'package-lock.json')
-rw-r--r-- | package-lock.json | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/package-lock.json b/package-lock.json index 21f992d36..e8611a456 100644 --- a/package-lock.json +++ b/package-lock.json @@ -11729,11 +11729,6 @@ "tinycolor2": "^1.1.2" } }, - "vue-contenteditable-directive": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/vue-contenteditable-directive/-/vue-contenteditable-directive-1.2.0.tgz", - "integrity": "sha512-9RuW1cboQBOUhURXiQpBD8XldyK2BYWhkWTnRw4Qmv8ZeQy+tGnnPs4XfemoPNf4KQW31Mx6UqEszlZYgoPeYw==" - }, "vue-eslint-parser": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/vue-eslint-parser/-/vue-eslint-parser-5.0.0.tgz", |