From a3a1dc1267c1c86a632de2fa32da980dbb594692 Mon Sep 17 00:00:00 2001 From: NGPixel Date: Sun, 26 Apr 2020 14:06:17 -0400 Subject: [PATCH] fix: ckeditor - extra ) when insert page link --- client/components/admin/admin-rendering.vue | 2 +- client/components/editor/editor-ckeditor.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/client/components/admin/admin-rendering.vue b/client/components/admin/admin-rendering.vue index 6c2235c7..ad4115a2 100644 --- a/client/components/admin/admin-rendering.vue +++ b/client/components/admin/admin-rendering.vue @@ -53,7 +53,7 @@ @click='selectRenderer(rdr.key)' :class='currentRenderer.key === rdr.key ? (darkMode ? `grey darken-4-l4` : `blue lighten-5`) : ``' ) - v-list-item-avatar(size='24') + v-list-item-avatar(size='24', tile) v-icon(:color='currentRenderer.key === rdr.key ? "primary" : "grey"') {{rdr.icon}} v-list-item-content v-list-item-title {{rdr.title}} diff --git a/client/components/editor/editor-ckeditor.vue b/client/components/editor/editor-ckeditor.vue index 5cc36f6e..d0e2c1b6 100644 --- a/client/components/editor/editor-ckeditor.vue +++ b/client/components/editor/editor-ckeditor.vue @@ -57,7 +57,7 @@ export default { this.insertLinkDialog = true }, insertLinkHandler ({ locale, path }) { - this.editor.execute('link', siteLangs.length > 0 ? `/${locale}/${path})` : `/${path}`) + this.editor.execute('link', siteLangs.length > 0 ? `/${locale}/${path}` : `/${path}`) } }, async mounted () {