@halobear/vue-editor
v1.1.0
Published
一个洁面简介的vue编辑器,支持富文本和markdown
Downloads
4
Readme
@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>