Skip to content
프로젝트

소개

Vue 3용 리치 텍스트 에디터 컴포넌트입니다.

개발 도구

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
0
in 7 days
-1
in 15 days
0
in 1 month
-2

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

Vue + Quill logo

VueQuill

Rich Text Editor Component for Vue 3.

npm (tag) License GitHub Workflow Status Last commit Github Repo Stars

VueQuill Editor
👀 See a Live Demo

🔎 Overview

VueQuill is a Vue 3 component for building rich text editors with Quill.

  • 💚 Built With Vue 3: More powerful and performant framework than ever before.
  • 🧙‍♂️ Fully TypeScript: VueQuill source code is written entirely in TypeScript.
  • 🛠️ Easy To Use: Straightforward implementation through a simple API.
  • 📦 Quill 2 Ready: Includes Quill 2 as a dependency and exposes the underlying Quill instance when you need it.
  • 🖥️ SSR Friendly: Can be imported in Vue SSR applications and initializes Quill in the browser.

🚀 Quick Start

Install VueQuill with your package manager:

npm install @vueup/vue-quill@latest
# or
yarn add @vueup/vue-quill@latest
# or
pnpm add @vueup/vue-quill@latest

Use the component in a Vue single-file component and import the theme stylesheet you want:

<script setup>
import { ref } from 'vue'
import { QuillEditor } from '@vueup/vue-quill'
import '@vueup/vue-quill/dist/vue-quill.snow.css'

const content = ref('<p>Hello VueQuill!</p>')
</script>

<template>
  <QuillEditor
    v-model:content="content"
    content-type="html"
    theme="snow"
    toolbar="minimal"
  />
</template>

That is enough for a basic editor. Remember to import a theme stylesheet (snow or bubble) and set content-type when binding HTML or plain text content.

📚 Documentation

👏 Contributing

Pull requests are welcome. For major changes, please create a new discussion first about what you would like to change.

📝 License

MIT

관련 프로젝트 살펴보기

불러오는 중…