[Vuejs]-Free Text Editor in Vue js

4👍

Switch to vue-quill-editor: If you continue to face issues with vue-2-editor, you can consider switching to a different text editor component for Vue.js. One popular alternative is vue-quill-editor, which is actively maintained and has good support.

First, install vue-quill-editor:

npm install vue-quill-editor

then,

 <template>
  <div>
    <quill-editor v-model="content"></quill-editor>
  </div>
</template>

<script>
  import { quillEditor } from 'vue-quill-editor';

  export default {
    components: {
      quillEditor,
    },
    data() {
      return {
        content: '',
      };
    },
  };
</script>

Leave a comment