npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@chahindb7/vue3-editor

v1.0.8

Published

HTML editor using Vue.js 3, and Quill.js, an open source editor with advanced table functionality (quill-table-up)

Readme

Vue3 Quill Editor

A simple and powerful rich text editor powered by Quill.js 2.0.3 and Vue.js 3

Features

  • Vue 3 Composition API Support: Built specifically for Vue 3
  • Quill 2.0.0: Latest version of Quill.js with improved performance
  • Advanced Table Support: Rich table functionality with quill-table-up
  • v-model Support: Two-way data binding with reactive updates
  • Customizable Toolbar: Easy toolbar configuration
  • TypeScript Ready: Full TypeScript support
  • Lightweight: Minimal dependencies, maximum performance

Installation

npm install

Basic Usage

<template>
  <div>
    <VueEditor v-model="content" placeholder="Start typing..." />
    <div v-html="content"></div>
  </div>
</template>

<script>
import { ref } from 'vue'

export default {
  setup() {
    const content = ref('<p>Hello World!</p>')
    
    return {
      content
    }
  }
}
</script>

Table Features

Vue3 Editor includes advanced table functionality powered by quill-table-up:

🚀 quill-table-up Features

  • Multiple cell selection and operations
  • Enhanced table context menus
  • Cell merging and splitting
  • Column and row operations
  • Drag and drop table resizing
  • Copy/paste table content
  • Multilingual support

Using Tables

The table module is automatically registered and available in the toolbar:

<template>
  <VueEditor 
    v-model="content" 
    :editorToolbar="tableToolbar"
    placeholder="Create tables with ease..."
  />
</template>

<script setup>
import { ref } from 'vue'

const content = ref('')

// Toolbar with table-up module
const tableToolbar = [
  ['bold', 'italic', 'underline'],
  [{ header: [1, 2, 3, false] }],
  [{ 'table-up': [] }], // Advanced table functionality
  ['link', 'clean']
]
</script>

Table Module Configuration

The editor automatically configures the table module:

// quill-table-up configuration
'table-up': {
  language: 'en_US',
  menus: ['column', 'row', 'merge', 'table', 'cell', 'wrap', 'copy', 'delete'],
  toolbarTable: true
}

Table Usage Examples

Basic Usage

<template>
  <VueEditor 
    v-model="content" 
    :editorToolbar="tableToolbar"
  />
</template>

<script setup>
import { ref } from 'vue'

const content = ref('')

// Use table-up module
const tableToolbar = [
  ['bold', 'italic'],
  ['table'], // Advanced table functionality
  ['clean']
]
</script>

Table Features

| Feature | Available | |---------|-----------| | Interface | Modern button | | Multi-cell selection | ✅ | | Context menus | ✅ | | Cell merging | ✅ | | Drag resize | ✅ | | Basic operations | ✅ |

API Access

// Get table module
const tableUp = quill.getModule('table-up')
tableUp.insertTable(3, 3) // Insert 3x3 table
tableUp.deleteTable() // Delete current table

Props

| Prop | Type | Default | Description | |------|------|---------|-------------| | modelValue | String | '' | The HTML content of the editor | | placeholder | String | '' | Placeholder text when editor is empty | | disabled | Boolean | false | Whether the editor is disabled | | editorToolbar | Array/Object | defaultToolbar | Custom toolbar configuration | | editorOptions | Object | {} | Additional Quill editor options |

Events

| Event | Description | Payload | |-------|-------------|---------| | ready | Fired when editor is ready | quill instance | | text-change | Fired when content changes | HTML content | | update:modelValue | v-model update event | HTML content |

Custom Toolbar

<template>
  <VueEditor 
    v-model="content" 
    :editorToolbar="customToolbar"
  />
</template>

<script>
export default {
  data() {
    return {
      content: '',
      customToolbar: [
        ['bold', 'italic', 'underline'],
        [{ 'list': 'ordered'}, { 'list': 'bullet' }],
        ['link', 'image']
      ]
    }
  }
}
</script>

Development

# Install dependencies
npm install

# Start development server
npm run serve

# Build for production
npm run build

License

MIT