How To Add Ckeditor 5 Placeholder In Vue Js? - FreeCodeBlog
Last updated: Jan 18, 2022
Hi, can anyone help me to use ckeditor 5 placeholder in my vue js project? In fact, I installed ckeditor5 build classic editor in my vue js project. Also I installed ckeditor 5 vue plugin in my vue js to use all the features of ckeditor 5. Now I don't understand how can I add ckeditor 5 placeholders to my vue js project? Here is ckeditor 5 code in my vue js project.
<template>
<ckeditor id="editor" :editor="editor" v-model="text" :config="editorConfig" />
</template>
<script>
import ClassicEditor from '@ckeditor/ckeditor5-build-classic'
export default {
data() {
return {
text: '',
editor: ClassicEditor,
editorConfig: {
toolbar: {
items: ['heading', 'bold', 'italic', 'undo', 'redo']
}
}
}
}
}
</script>
Thanks.
I'm trying to use rel attribute to ckeditor 5 manually but i don't understand how can i do it? I want to use the rel attribute in my ckeditor 5 man... Read More
I want to add the rel attribute to my ckeditor 5 vue automatically. I'm trying to add rel attribute to ckeditor 5 automatically but i don't underst... Read More
I have a simple project and I added ckeditor 5 in my project. Also I added ckeditor 5 link plugin to my project. Now I want to enable rel attribute... Read More