From 18d3cbdef8d2b602318a17a628637c104e72a8d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philipp=20Ku=CC=88hn?= Date: Mon, 18 Jan 2021 12:40:13 +0100 Subject: [PATCH] add tippy --- docs/package.json | 1 + docs/src/demos/Nodes/Mention/index.vue | 50 ++++++++++++++++++++++- packages/extension-mention/src/mention.ts | 12 +++--- packages/suggestion/src/suggestion.ts | 34 ++++++++------- yarn.lock | 12 ++++++ 5 files changed, 87 insertions(+), 22 deletions(-) diff --git a/docs/package.json b/docs/package.json index d456261ee..3c850ae17 100644 --- a/docs/package.json +++ b/docs/package.json @@ -25,6 +25,7 @@ "remark-toc": "^7.0.0", "remixicon": "^2.5.0", "simplify-js": "^1.2.4", + "tippy.js": "^6.2.7", "vue-github-button": "^1.1.2", "vue-live": "^1.16.0", "y-indexeddb": "^9.0.6", diff --git a/docs/src/demos/Nodes/Mention/index.vue b/docs/src/demos/Nodes/Mention/index.vue index a13fd6567..5ab67006f 100644 --- a/docs/src/demos/Nodes/Mention/index.vue +++ b/docs/src/demos/Nodes/Mention/index.vue @@ -5,6 +5,8 @@