vue-ckeditor2
vue-ckeditor2 copied to clipboard
Unable to remove text formatting (bold, italic, underlined etc.) once applied
When I redirect to page, ckediter text format item not active but when I reload page it will normal

Hi @MinhPhuong1310
Can you describe your code you use.
Hi @dangvanthanh In page 'list-post' I have button update
<nuxt-link :to="`/post/template-design?id=${item._id}`">Update</nuxt-link>`
When click button redirect to page 'template-design' then get data with 'id'
`data: () => ({
setting: null,
configCKEditor: {
toolbar: [
{name: 'font', items: ['FontSize', 'TextColor', 'Bold', 'Italic', 'Underline']},
{name: 'format', items: ['JustifyLeft', 'JustifyCenter', 'JustifyRight', 'JustifyBlock', 'Link', 'Unlink', 'CopyFormatting', 'RemoveFormat']},
],
height: 100,
language: 'en',
},
}),
created() {
this.getTemplate(this.$route.query.id);
this.setting.content = data.content
}
<vue-ckeditor v-model="setting.content" :config="config.configCKEditor" @input="save"/>
When I I redirect to page 'template-design' from other page, icon 'bold, italic, underlined ' can't focus but when reload page it normal.