当前位置:网站首页>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


官网
边栏推荐
- Comparison between QT and other GUI Libraries
- Huffman Tree (1) Basic Concept and C - language Implementation
- 偏向锁/轻量锁/重级锁锁锁更健康,上锁解锁到底是怎么完成实现的
- Lingyun going to sea | 10 leap &huawei cloud: jointly helping Africa with inclusive financial services
- Game 81 biweekly
- C file pointer
- B_QuRT_User_Guide(32)
- What are database OLAP and OLTP? Same and different? Applicable scenarios
- Mistakes the project manager should not make
- mysql登录出现1045错误修改方法[通俗易懂]
猜你喜欢

Lumiprobe copper free click chemical solution

maya房子建模

On the charm of code language

MFC界面库BCGControlBar v33.0 - 桌面警报窗口、网格控件升级等

A complete collection of vulnerability scanning tools. Mom doesn't have to worry that I won't find any more vulnerabilities

B_QuRT_User_Guide(32)

Study on PEGylation of lumiprobe and PEG linker - iodine-peg3-acid

Lumiprobe 改性三磷酸盐丨生物素-11-UTP研究

谈谈内联函数

【微服务~Nacos】Nacos之配置中心
随机推荐
股票开户优惠链接,我如何才能得到?另外,手机开户安全么?
On the charm of code language
Lumiprobe copper free click chemical solution
北京大学ACM Problems 1006:Biorhythms
Common questions and answering skills of project manager interview
树基本概念
Installation and use of securecrtportable
Huffman tree (I) basic concept and C language implementation
Study on lumiprobe modified triphosphate biotin-11-utp
B_QuRT_User_Guide(35)
Lumiprobe 聚乙二醇化和 PEG 接头丨碘-PEG3-酸研究
Lumiprobe染料酰肼丨BDP FL 酰肼方案
Great God detailed open source Buff gain Introduction 丨 Live
Is the project manager a leader? Can you criticize and blame members?
On inline function
断点续传和下载原理分析
Binary search tree (1) - concept and C language implementation
Maya house modeling
Dynamic style binding --style and class
北京大学ACM Problems 1002:487-3279