Skip to content

alekswebnet/vue-quilly

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

vue-quilly

Tiny Vue component, that helps to create Quill v2 based WYSIWYG editors in Vue-powered apps.

npm version npm bundle size NPM Type Definitions GitHub License

Features

  • πŸš€ Built on top of Quill v2 and Vue 3
  • πŸ“¦ Uses quill/core to prevent importing all Quill modules (minimal bundle size)
  • πŸ”„ Works with both HTML and Quill Delta format
  • πŸ”· TypeScript support
  • βš™οΈ Highly customizable - build your own editor
  • ⚑ Framework ready - works with Vue 3 and Nuxt 4

Documentation

πŸ“– Full Documentation

Quick Start

Installation

npm install vue-quilly quill@2 # or pnpm add vue-quilly quill@2 # or yarn add vue-quilly quill@2

Basic Usage

<script setup lang="ts"> import { ref, onMounted } from 'vue' import { QuillyEditor } from 'vue-quilly' import Quill from 'quill' import 'quill/dist/quill.snow.css'  const editor = ref<InstanceType<typeof QuillyEditor>>() const content = ref('<p>Hello Quilly!</p>') let quill: Quill | undefined  const options = {  theme: 'snow',  modules: {  toolbar: [  ['bold', 'italic', 'underline'],  [{ list: 'ordered' }, { list: 'bullet' }],  ['link', 'image']  ]  } }  onMounted(() => {  quill = editor.value?.initialize(Quill) }) </script> <template> <QuillyEditor ref="editor" v-model="content" :options="options" /> </template>

Live Demo

🎯 Try it live - See various editors built with vue-quilly

Examples

Star History

Star History Chart

Support

If you find vue-quilly useful and want to support its development:

ko-fi

❀️ Your support helps with maintenance, bug fixes, and long-term improvements.

License

MIT

Sponsor this project

Packages

No packages published

Contributors 3

  •  
  •  
  •