emr-editor-vue3-fix-tmp
v1.0.14
Published
![图片](/demo/public/img.png) ## 使用说明 1. 安装依赖包
Downloads
355
Readme
Vue3 + Vite + tiptap 编辑器
使用说明
- 安装依赖包
npm install emr-editor-vue3
- 引入组件
import {
EmrEditor,
Bold,
BulletList,
Italic,
BaseKit,
Underline,
Strike,
LineHeight,
Image,
History,
Heading,
CodeBlock,
FontSize,
Highlight,
Table,
Clear,
Blockquote,
Link,
Color,
Video,
OrderedList,
HorizontalRule,
Fullscreen,
TaskList,
MoreMark,
FormatPainter,
SlashCommand,
Indent,
ImportWord,
Columns,
TextAlign,
ImageUpload,
VideoUpload,
Code,
EName,
ESex,
EAge,
EHid,
EDiagnosis,
ECheckbox,
} from 'emr-editor-vue3'
- 引入css
import 'emr-editor-vue3/style.css'
- 使用编辑器 通过jsson 设置相关组件的值,然后把json 传入组件即可
请查看 demo