diff options
author | Joas Schilling <coding@schilljs.com> | 2022-11-07 14:44:52 +0300 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2022-11-07 14:44:52 +0300 |
commit | 6e43141fcfebd4b6f8e7d61fc72cdf86322b99a0 (patch) | |
tree | 238b6b6d493fb780ac88bc388370cc8710eeaff4 | |
parent | a98d3aee101af62c9a3fcea220537f5088ba457f (diff) |
Adjust usagetechdebt/noid/move-to-vue-component
Signed-off-by: Joas Schilling <coding@schilljs.com>
-rw-r--r-- | src/Components/Announcement.vue | 5 | ||||
-rw-r--r-- | src/main.js | 2 |
2 files changed, 3 insertions, 4 deletions
diff --git a/src/Components/Announcement.vue b/src/Components/Announcement.vue index d4a7616..fc2960b 100644 --- a/src/Components/Announcement.vue +++ b/src/Components/Announcement.vue @@ -70,8 +70,7 @@ class="announcement__message" @click="onClickFoldedMessage"> <RichText :text="message" - :arguments="{}" - :autolink="true" + :reference-limit="1" :use-markdown="true" :class="{'announcement__message--folded': isMessageFolded}" /> @@ -89,7 +88,7 @@ </template> <script> -import RichText from '@juliushaertl/vue-richtext' +import { RichText } from '@nextcloud/vue-richtext' import NcActions from '@nextcloud/vue/dist/Components/NcActions.js' import NcActionButton from '@nextcloud/vue/dist/Components/NcActionButton.js' import NcAvatar from '@nextcloud/vue/dist/Components/NcAvatar.js' diff --git a/src/main.js b/src/main.js index b062f12..984158c 100644 --- a/src/main.js +++ b/src/main.js @@ -30,7 +30,7 @@ import Vuex from 'vuex' // Styles import '@nextcloud/dialogs/styles/toast.scss' -import '@juliushaertl/vue-richtext/dist/vue-richtext.scss' +import '@nextcloud/vue-richtext/dist/style.css' // eslint-disable-next-line __webpack_nonce__ = btoa(getRequestToken()) |