fix: ckeditor - extra ) when insert page link

pull/1802/head
NGPixel 5 years ago
parent bbe64ef6b6
commit a3a1dc1267

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

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

Loading…
Cancel
Save