Skip to content

Jerry-ZhouJian/vue-tiptop-editor

Repository files navigation

vue-tiptop-editor

Rich text compiler based on vue3, typescript and tiptop

基于vue3,Typescript,tiptop开发的富文本编辑器

install

pnpm add vue-tiptop-editor

or

npm install vue-tiptop-editor

how to use

main.ts

import VueTiptopEdditor from 'vue-tiptop-editor'

createApp(App).use(VueTiptopEditor).mount('#app')

in component

import { VueTiptopEdditor } from 'vue-tiptop-editor'

Use v-model (optional)

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

<script setup lang='ts'>
const content = ref("")
</script>

contact me

About

Rich text compiler based on vue3, typescript and tiptop

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published