moukbel
156
3
Vue

<textarea> value binding with Ckeditor

Posted 1 month ago by moukbel

hi, i have installed CKEditor but i could find way to get the value , the v-model not working !

i have trayed this but i need to click submit two times to get the updated text

<form  @submit.prevent="submit" method='POST' enctype="multipart/form-data">

<textarea id="article-ckeditor"  v-model="about" ref="about"  name="about" class="form-control" placeholder="about" required> </textarea>
<form>     

 methods:{
 
            
            submit(){

               console.log(this.$refs.about.value)

            
            },

Please sign in or create an account to participate in this conversation.