Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/spreed.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Calviño Sánchez <danxuliu@gmail.com>2020-01-08 04:23:05 +0300
committerJoas Schilling <coding@schilljs.com>2020-01-09 22:19:18 +0300
commitc728282147a1c376630902fbe7bf0d3f3d3b5cb6 (patch)
tree3c6f1be316b50e9104f906c113e42f398380fe81 /package.json
parent920deedec88bdd8ceb3fdc3c382ebb0a1630b32e (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.json')
-rw-r--r--package.json1
1 files changed, 0 insertions, 1 deletions
diff --git a/package.json b/package.json
index a8356cd6b..fa3d698b1 100644
--- a/package.json
+++ b/package.json
@@ -35,7 +35,6 @@
"vue": "^2.6.11",
"vue-at": "^2.5.0-beta.2",
"vue-clipboard2": "^0.3.1",
- "vue-contenteditable-directive": "^1.2.0",
"vue-fragment": "^1.5.1",
"vue-observe-visibility": "^0.4.6",
"vue-prevent-unload": "^0.2.3",