@halobear/vue-editor

1.1.0 • Public • Published

@halobear/vue-editor

示例

安装

yarn add @halobear/vue-editor

使用

<template>
  <div class="test-container">
    <h2 class="title">富文本编辑器</h2>
    <vue-editor
      class="editor-content"
      type="word"
      v-model="text"
      :inset-image="insetImage"
    ></vue-editor>
    <h2 class="title">markdown编辑器</h2>
    <vue-editor
      class="editor-content"
      type="markdown"
      v-model="text"
    ></vue-editor>
  </div>
</template>

<script>
  import VueEditor from '../index.vue'

  export default {
    components: {
      VueEditor
    }
  }
</script>

使用了以下开源代码

Package Sidebar

Install

npm i @halobear/vue-editor

Weekly Downloads

0

Version

1.1.0

License

ISC

Unpacked Size

4.65 MB

Total Files

23

Last publish

Collaborators

  • luzhongk
  • v_yan_v
  • wtwei