当前位置:网站首页>uniapp-富文本编辑器
uniapp-富文本编辑器
2022-06-30 20:20:00 【智江鹏】
功能介绍
- 支持在多个主流的小程序平台和
uni-app中使用- 支持丰富的标签(包括
table、video、svg等)- 支持丰富的事件效果(自动预览图片、链接处理等)
- 支持设置占位图(加载中、出错时、预览时)
- 支持锚点跳转、长按复制等丰富功能
- 支持大部分 html 实体
- 丰富的插件(关键词搜索、内容 编辑 等)
- 效率高、容错性强且轻量化(
≈24.5KB,9KB gzipped)
uni-app
将源码中
dist/uni-app内的内容拷贝到项目根目录下
可以直接通过 插件市场 引入在需要使用页面的
vue文件中添加
<template>
<view>
<mp-html :content="html" />
</view>
</template>
<script>
import mpHtml from '@/components/mp-html/mp-html'
export default {
// HBuilderX 2.5.5+ 可以通过 easycom 自动引入
components: {
mpHtml
},
data() {
return {
html: '<div>Hello World!</div>'
}
}
}
</script>组件属性
组件事件

api


官网
边栏推荐
- MySQL:SQL概述及数据库系统介绍 | 黑马程序员
- Go language identifier and package name specification
- NLP paper lead reading | what about the degradation of text generation model? Simctg tells you the answer
- PHP require/include differences
- Lumiprobe细胞生物学丨DiA,亲脂性示踪剂说明书
- Lumiprobe dye hydrazide - BDP FL hydrazide solution
- Dynamic style binding --style and class
- 北京大学ACM Problems 1001:Exponentiation
- 数据库 OLAP、OLTP是什么?相同和不同?适用场景
- All the important spark summit features were released here last night (with ultra clear video attached)
猜你喜欢

Lumiprobe protein quantitation - qudye Protein Quantitation Kit

Great God detailed open source Buff gain Introduction 丨 Live
![[1175. prime number arrangement]](/img/f2/d427db03da151786ea1dfb7a76328a.png)
[1175. prime number arrangement]

Testing principle and precautions of biovendor rage ELISA Kit

PHP require/include differences

树基本概念
![Jerry's touch key recognition process [chapter]](/img/3e/bb73c735d0a7c7a26989c65a432dad.png)
Jerry's touch key recognition process [chapter]

Basic components of STL

Lumiprobe染料酰肼丨BDP FL 酰肼方案
![Halcon knowledge: check the measurement objects [1]](/img/0a/3a12e281fcb201d8d11b25dac4145a.png)
Halcon knowledge: check the measurement objects [1]
随机推荐
Peking University ACM problems 1003:hangover
Mistakes the project manager should not make
大神詳解開源 BUFF 增益攻略丨直播
Jerry's touch key recognition process [chapter]
北京大学ACM Problems 1005:I Think I Need a Houseboat
Notes on modification of Jerry's test box pairing software [chapter]
MFC界面库BCGControlBar v33.0 - 桌面警报窗口、网格控件升级等
Study on PEGylation of lumiprobe and PEG linker - iodine-peg3-acid
Lumiprobe细胞生物学丨DiA,亲脂性示踪剂说明书
Dynamic style binding --style and class
股票开户优惠链接,我如何才能得到?另外,手机开户安全么?
Jerry's touch key recognition process [chapter]
C文件指针
jfinal中如何使用过滤器监控Druid监听SQL执行?
杰理之触摸按键识别流程【篇】
Lumiprobe蛋白质定量丨QuDye 蛋白定量试剂盒
RP原型资源分享-购物类App
Lumiprobe染料 NHS 酯丨BDP FL NHS 酯研究
Jerry's question about long press boot detection [chapter]
《大厂面试》之JVM篇21问与答