fix: ckeditor - extra ) when insert page link

This commit is contained in:
NGPixel 2020-04-26 14:06:17 -04:00
parent bbe64ef6b6
commit a3a1dc1267
2 changed files with 2 additions and 2 deletions

View File

@ -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}}

View File

@ -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 () {